api-docs

API Sections Resource types Resource type Categories

Category - DELETE

Delete the requested category, you are not able to delete a category until every subcategory below it has been removed and it is no longer associated with any items.

Request

URL : /v3/resource-types/{resource_type_id}/categories/{category_id}

Method : DELETE

Responses

Success

Code : 204

No Content

Constraint error

Code : 409

Content :

{
    "message": "Unable to handle your request, dependent data exists or foreign key error."
}

Not found

Code : 404

Content :

{
    "message": "The category can't be found."
}

Not authourised

Code : 403

Content :

{
    "message": "Category can't be found or is not accessible to you."
}