POST/v1/article-categories

Create an article category

Creates an article category. Supply name and optionally include a description for the category. The response contains the created category.

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

2 body fields

The article category to create.

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

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

Error handling

A 401 is returned when the request lacks valid authentication credentials. name is required.