iotoms Docs

Deactivate an inventory location

DELETE
/api/v1/inventory/locations/{id}

Marks an inventory location as inactive rather than deleting it. Returns no content on success.

How to use it

  1. Take the location id from List inventory locations.
  2. Call delete; the location is marked inactive (not removed) and disappears from List inventory locations. Reactivate it with Update an inventory location.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*string

ID of the record (UUID).

Formatuuid

Header Parameters

Response Body

OK

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/inventory/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty