DELETE
/
locations
/
{id}
curl --request DELETE \
  --url https://api.flatpeak.com/locations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Accepted"
}

Authorizations

Authorization
string
header
required

Authenticate with bearer_token you obtained from /login endpoint.

Path Parameters

id
string
required

FlatPeak location_id

Example:

"loc_d47751032d2748d2bce8ec55b2006def"

Response

202
application/json
202 accepted
message
string
Example:

"Accepted"