iotoms Docs

Delete a style

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

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

How to use it

  1. Get the style ID from List styles.
  2. Delete it; the style is removed for good. If any item still uses the style 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/styles/0'
Example Response
Empty