POST /v1/labels/reorder
Persist a new ordering for labels.
POST /v1/labels/reorder stores a new label order.
Authentication
Send an organization API key in x-api-key or
Authorization: Bearer <key>.
Request Body
Send every label ID once, in the order that should be stored.
| Name | Type | Required | Description |
|---|---|---|---|
labelIds | array of strings (uuid) | Yes | Ordered label IDs. The array must contain at least one ID. |
Example
curl -X POST "https://api.blueputto.com/v1/labels/reorder" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"labelIds":["LABEL_ID_1","LABEL_ID_2"]}'Success Response
200 OK
{
"data": {}
}Error Responses
400 Bad Request401 Unauthorized429 Too Many Requests