cURL
curl --request DELETE \ --url https://{defaultHost}/v1/warehouses/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "b6d949b3-224e-4d3e-8c41-ac1568186420", "object": "warehouse", "deleted": true }
Deletes a specific warehouse.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this object was succesfully deleted.
Was this page helpful?