/api/v1/object/field/tag/orderReorder the workspace tags.
Reorder the workspace tags.
Send each tag's slug with its new position; lower positions come
first. Tags you leave out keep their current relative order and move
after the ones you list. Retired tags can be listed too.
Scope: object.update.
Errors:
422— the body is invalid, for example apositionbelow0.
Request:
{
"tags": [
{ "slug": "3f1c9a2e-7b4d-4e0a-9c61-2d8f5b0e41a7", "position": 0 },
{ "slug": "8d2b6e4f-1a3c-4b5d-9e7f-0a1b2c3d4e5f", "position": 1 }
]
}
Response 200:
{
"status": 200,
"message": "Tags reordered successfully",
"data": null
}
Send request
Use the documented inputs to call this endpoint directly.
Request body
application/jsonrequiredResponses
Successful response
{
"message": "string"
}Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs