iotoms Docs

Delete a customer store

DELETE
/api/v1/ops/customer-stores/{id}

Permanently deletes a customer store and returns 204 with no body, or 404 if it does not exist. To keep its history, set its status to INACTIVE or ARCHIVED instead.

How to use it

  1. Get the store's ID from List customer stores.
  2. Send the delete; the store is removed permanently and the call returns 204, or 404 if the ID does not exist.
  3. To keep the store's history instead, set its status to INACTIVE or ARCHIVED with Partially update a customer store.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Header Parameters

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/ops/customer-stores/0'
Example Response
Empty