Skip to main content
POST
Update a blog category

Authorizations

Authorization
string
header
required

API token for authentication

Query Parameters

workspace_id
string
required

The ID of the workspace. Passed in the query string, not the body.

Body

application/json

A full replacement, not a patch: description and seo are cleared when omitted. Send the category back with your changes applied.

id
string
required
Example:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

name
string
required
Maximum string length: 255
Example:

"Product"

slug
string
required

Changing it changes the URL of the category page and of every post in it. No redirect is created from the old URLs.

Maximum string length: 100
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Example:

"product"

description
string
seo
object

Search and social metadata for the page, exposed to the blog theme.

Response

Category updated

category
object
required