POST/v1/article-categories

Create an article category

Creates an article category. Supply name to identify the category and optionally include a description. The created category is returned in the response.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields

Article category details. name is required.

namestringrequired
The category name.
descriptionstringoptional
A description of the category.

2 status codes
201Returns the created article category in the `data` object.
dataobjectoptional
401Returned when the request does not include valid authentication credentials.
errorobjectoptional

Error handling

A 401 is returned when the request does not include valid authentication credentials. name is required.