Public API – DELETE Zone

The Zones end point allows you to delete a Zone. Please note, this will delete all data contained within the Zone including Geofences, placed Beacons, Actions and Conditions.

URL to call

https://api.bluedotinnovation.com/1/zones

Parameters

Name Required Data Type Description Format
customerApiKey String API key for customer (rather than the app).
apiKey String API key for the app
zoneId String The identifier of the Zone containing the action.

Example: Using test keys

https://api.bluedotinnovation.com/1/zones?customerApiKey=6ab02370-97c4-11e4-b3f3-00155d53317c&apiKey=91a6e730-d507-11e5-9635-06a56cd124c5&zoneId=4f134aaa-3382-49bb-b7c7-a0bf72e56238

Example: JSON response to request

{
    "message":"Zone with id :c34c43f2-7bfc-47d5-b816-2b4c4ac990a1 has been deleted successfully.",
    "messageCode":200
}

Source code examples

Created by Bluedot DevOps on March 5, 2018

Start the discussion