iotoms Docs

Delete a color

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

Permanently deletes a product color by its numeric ID. Returns 204 No Content, or an error if the ID does not exist.

How to use it

  1. Get the color ID from List colors.
  2. Delete it; the color is removed for good. If any item still uses the color the delete is refused, so reassign those items first.

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/colors/0'
Example Response
Empty