Delete a category
DELETE/v2/categories/:lookupKey/:key
Removes the category identified by the URL.
A category can only be deleted when it has no child categories and no products or clusters assigned to it; remove or relocate descendants and assignments before issuing the delete.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The record was deleted successfully.
The request payload, path, or query parameters failed validation.
Authentication credentials are missing or invalid.
The authenticated caller is not permitted to perform the operation.
The record identified by the request could not be located.
The request conflicts with the current state of the record.
An unexpected error prevented the request from completing.