API Reference
cURL
curl --request DELETE \ --url https://api.flatpeak.com/locations/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Accepted" }
Permanently deletes a location.
Authenticate with bearer_token you obtained from /login endpoint.
bearer_token
FlatPeak location_id
location_id
"loc_d47751032d2748d2bce8ec55b2006def"
202 accepted
The response is of type object.
object
Was this page helpful?