iotoms Docs

Delete a gallery image

DELETE
/api/v1/catalog/attributes/image-gallery/{id}

Deletes an image gallery entry. Returns 204 on success, or not found if it does not exist.

How to use it

  1. Take the entry id from List gallery images and check no item still needs the image.
  2. Call delete; the entry is removed permanently.

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