iotoms Docs

Delete a store

DELETE
/api/v1/catalog/business/stores/{id}

Permanently deletes a store by its numeric ID. Returns 204 on success or 404 if the store does not exist. Consider setting the status to INACTIVE instead to keep its history.

How to use it

  1. Get the store ID from List stores.
  2. Delete it. The store is removed permanently; set status INACTIVE with Update store fields if you only want to retire it.

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/business/stores/0'
Example Response
Empty