Create a new snippet category
Create a new snippet category
POST
Create a new snippet category
Creates a new snippet category with the specified name and optional parent category. The category is automatically assigned a sort position at the end of its siblings. Categories can be nested to create hierarchical organization structures.
Authorizations
Body
application/json
Response
Category created 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