Skip to content

Category — Delete

Deletes a category.

Endpoint

EndpointMethod
/api/admin/catalog/categories/{id}DELETE

{id} must be a positive integer.

Response

200 OK:

json
{ "message": "Category deleted successfully." }

Errors

HTTPCause
400 Bad RequestRoot category (id=1) or a category used as a channel's root_category_id
401 UnauthorizedMissing or invalid Bearer token
404 Not FoundThe category does not exist

For bulk deletion, use the Mass Delete endpoint.

Released under the MIT License.