AimableDocs
DocsAPI ReferenceRelease Notes
POST/v1/admin/spaces/reorder

Reorder Spaces

Tenant-wide manual ordering for spaces. Submit the full ordered list of space ids; the server assigns display_order = index + 1.

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request Body

application/jsonRequired
space_idsstring[]Required
Authentication
X-API-Key: ak.<key_id>.<secret>Authentication & errors →

Request

curl -X POST '/api/v1/admin/spaces/reorder' \
  -H 'X-API-Key: ak.<key_id>.<secret>' \
  -H 'Content-Type: application/json' \
  -d '{
  "space_ids": [
    "550e8400-e29b-41d4-a716-446655440000"
  ]
}'

Response

200

No response body documented

Error Responses