Delete a color
DELETE
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
- Get the color ID from List colors.
- Delete it; the color is removed for good. If any item still uses the color the delete is refused, so reassign those items first.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/catalog/attributes/colors/0'Example Response
Empty