Through this endpoint you can delete a Location.

Request

Name Method Description
/v1/deletelocation POST This end-point will delete a location under a brand for an Agency.

Request Parameters

Name Data Type Required/Optional Description
api_key string required This is the unique key given to your agency. This key can be found in your agency settings under the White Label API information tile.
location_id string required/optional This is the unique identifier of a Location in our system. It was automatically created when you created the Location. If you leave this field blank you will get a list of all Locations. The location id can be found in the brand settings under the location sign-up form.
client_location_id string required/optional This is the unique identifier of the Location in your system. This value can be found in the location sign-up form. This field is required when the location ID is not present.

Sample Request

POST : https://api.online-review-manager.com/v1/deletelocation

Response Data

You will recieve a success or error message. See sample success message below:

Sample Success Message:

{
  "status": "success",
  "message": "Location has been deleted successfully."
}