DELETE /categories/:id
Parameters
id
: The identifier as specified when the category was created
Categories can only be deleted if no products are associated with them.
Status codes
200
on success400
if the request is invalid
Response properties
The new categories as returned by GET /categories
.