Delete a department
DELETE
Permanently deletes a product department and returns 204 with no body, or not found if it does not exist.
How to use it
- Get the department ID from List departments.
- Send the delete; the department is removed permanently and the call returns 204, or not found if the ID does not exist.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/catalog/attributes/departments/0'Example Response
Empty