iotoms Docs

Delete a category

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

Deletes a product category. Returns 204 on success or 404 if it does not exist.

How to use it

  1. Get the category's ID from List categories.
  2. Send the delete; the category is removed permanently and the call returns 204, or 404 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/categories/0'
Example Response
Empty