api-docs

API Sections Resource types Resource type Categories Category Subcategories

Subcategory - DELETE

Delete the requested subcategory, you are not able to delete a subcategory until it is no longer associated with any items.

Request

URL : /v3/resource-types/{resource_type_id}/categories/{category_id}/subcategories/{subcategory_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 subcategory can't be found."
}

Not authourised

Code : 403

Content :

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