Skip to navigation

Create category

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired<=255 characters
is_activebooleanRequired
descriptionstring or nullOptional

Response

Category created successfully.
idinteger
namestring
slugstring
descriptionstring or null
is_activeboolean

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error