v2
latestOpenAPI 3.1.12026-08-06856719.6 KBLocation
Delete location
Permanently delete a location. The location must be inactive before deletion — call PATCH /v1/locations/{location} with {"active": false} first.
Deletion is blocked if the location is still active, or if it is the last remaining location.
delete/v1/locations/{location}
Path parameters
locationstring uuid required
Location ID
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Response
Location deleted successfully