curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/taxons/{id}/reposition \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taxon": {
"new_parent_id": 1,
"new_position_idx": 1
}
}
'{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
}Reposition a Taxon
curl --request PATCH \
--url http://{defaultHost}/api/v2/platform/taxons/{id}/reposition \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taxon": {
"new_parent_id": 1,
"new_position_idx": 1
}
}
'{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?