User
Reorder template categories (superadmin)
Updates the sortOrder of template categories to match the supplied id array (first id becomes sortOrder 0). Superadmin only.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/user/template-categories/reorder" \ -H "Content-Type: application/json" \ -d '{ "categoryIds": [ "64eea1110000000000000031", "64eea1110000000000000032", "64eea1110000000000000033" ] }'{ "message": "Password reset successfully"}