Public API – DELETE Beacon

The Beacon end point deletes a Beacon from the customer account.

image

If a Beacon is added to the Zone then it will not be deleted and an error response will be returned. A Beacon can only be deleted if it is not added to any Zone, in any of the applications of the user’s account.

URL to call

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

Parameters

Name Required Data Type Description Format
customerApiKey String API key for customer (rather than the app).
beaconId String The identifier for the Beacon to be deleted.

Example: Using test keys

https://api.bluedotinnovation.com/1/beacons?customerApiKey=6ab02370-97c4-11e4-b3f3-00155d53317c&beaconId=6c6a2b99-fce1-43e6-8ae8-8ef9b5be54f9

Example: JSON response to request

{
  "message": "Beacon has been successfully deleted: 6c6a2b99-fce1-43e6-8ae8-8ef9b5be54f9 ",
  "messageCode": 200
}

Source code examples

Created by Bluedot DevOps on March 5, 2018

Start the discussion