Public API – DELETE Action

The action end point, when accessed with the DELETE method, deletes an Action for a given Action ID. All Conditions within the Action are also deleted.

URL to call

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

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.
actionId String The identifier of the action being deleted. This can be retrieved via the zones end point.

Example: Using test keys

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

Example: JSON response to request

{
    "message":"Action with id :2038f6f6-fd90-4c59-b949-b1b69c1b462a has been deleted successfully.",
    "messageCode":200
}

Source code examples

Created by Bluedot DevOps on March 5, 2018

Start the discussion