iotoms Docs

Delete an item

DELETE
/api/v1/catalog/items/{itemId}

Permanently deletes the item identified by itemId and returns 204 with no body, or not found if the code does not exist. To keep its history, set its status to INACTIVE or ARCHIVED instead.

How to use it

  1. Find the item code with List items.
  2. Send the delete; the item is removed permanently and the call returns 204, or not found if the code does not exist.
  3. To keep the item's history instead, set its status to INACTIVE or ARCHIVED with Update selected item fields.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

itemId*string

Item code (itemId) of the item, e.g. from List items.

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/catalog/items/string'
Example Response
Empty