DELETE
/
location
/
:id
Delete location
curl --request DELETE \
  --url http://localhost:8080/location/:id \
  --header 'x-api-key: <api-key>'
{
  "message": "Location deleted successfully"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Path Parameters

id
string
required

Location ID

Response

Successfully deleted location

The response is of type object.