Locations
Delete a location
Locations
Delete a location
Deletes a location.
DELETE
/
v1
/
locations
/
{location_id}
curl --request DELETE \
--url https://api.amberflow.io/v1/locations/{location_id} \
--header 'X-API-Key: <api-key>'
{
"id": "991fced7-024c-4162-abbe-320fec9de64f",
"created_at": "2024-09-23T12:00:00.000Z",
"customer_id": "cus_sAVSyzPS7qDWXELn",
"latitude": 52.3938,
"longitude": 4.8677,
"metadata": {
"address": "Nieuwe Hemweg 2, Amsterdam, Netherlands"
}
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request DELETE \
--url https://api.amberflow.io/v1/locations/{location_id} \
--header 'X-API-Key: <api-key>'
{
"id": "991fced7-024c-4162-abbe-320fec9de64f",
"created_at": "2024-09-23T12:00:00.000Z",
"customer_id": "cus_sAVSyzPS7qDWXELn",
"latitude": 52.3938,
"longitude": 4.8677,
"metadata": {
"address": "Nieuwe Hemweg 2, Amsterdam, Netherlands"
}
}