iotoms Docs

Delete a department

DELETE
/api/v1/catalog/attributes/departments/{id}

Permanently deletes a product department and returns 204 with no body, or not found if it does not exist.

How to use it

  1. Get the department ID from List departments.
  2. Send the delete; the department is removed permanently and the call returns 204, or not found if the ID does not exist.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/catalog/attributes/departments/0'
Example Response
Empty