Update a category's position and parent
Update a category's position and parent
PATCH
Update a category's position and parent
Updates the sort position and parent relationship of a snippet category. This endpoint allows you to reorder categories within their parent or move them to a different parent category. The position is 0-based, and all sibling categories are automatically reordered to maintain a consistent sequence.
Authorizations
Path Parameters
ID of the category to reposition.
Body
application/json
Response
Category position updated successfully.
Unique identifier for the snippet category
Example:
5
Name of the category
Maximum string length:
250Example:
"Customer Support"
Sort order within the parent category (1-based)
Example:
1
ID of the parent category (null for root-level categories)
Example:
2