Skip to main content
POST
/
api
/
user
/
template-categories
/
reorder
Reorder template categories (superadmin)
curl --request POST \
  --url https://your-instance.example.com/api/user/template-categories/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "categoryIds": [
    "64eea1110000000000000031",
    "64eea1110000000000000032",
    "64eea1110000000000000033"
  ]
}
'
{
  "message": "Password reset successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
categoryIds
string[]
required

Category _ids in their desired display order; the first id becomes sortOrder: 0.

Response

Categories reordered

Generic single-message success envelope used for reset-password / reorder / etc.

message
string
required