Skip to main content
DELETE
/
locations
/
{location_id}
Delete a location
curl --request DELETE \
  --url https://api.flatpeak.com/locations/{location_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Accepted"
}

Authorizations

Authorization
string
header
required

Authenticate with bearer you obtained from authentication endpoint.

Path Parameters

location_id
string
required

Flatpeak Location ID

Response

202 accepted

message
string
Example:

"Accepted"