Skip to main content
PUT
/
data
/
images
/
{id}
/
annotations
/
z-order
Reorder image annotations
curl --request PUT \
  --url https://acusight.io/api/data/images/{id}/annotations/z-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "order": [
    123
  ]
}
'
"<string>"

Authorizations

Authorization
string
header
required

JWT access token. Paste the token only; the Bearer prefix is added automatically.

Path Parameters

id
integer
required

Image ID

Body

application/json

Annotation order payload

order
integer[]
required

Order is a list of annotation IDs from back (0) to front (last)

Minimum array length: 1

Response

Reorder applied

The response is of type string.