v1
latestOpenAPI 3.1.02026-07-13305453.8 KBCategories
Update category
Update an existing category by ID or slug. Requires a private API key.
patch/v1/categories/{identifier}
Path parameters
identifierstring required
Category ID or slug
Example:technology
Category ID or slug
Request body
Example request
{
"name": "Engineering",
"slug": "engineering",
"description": "Engineering articles and tutorials"
}Response
Category updated successfully
Example response
{
"category": {
"id": "cryitfjp2345kl05weoybfk9",
"name": "Technology",
"slug": "technology",
"description": "Tech news and tutorials"
}
}