Delete Channel October 7, 2017

Overview

The Delete Channel API call will permanently erase all data and metadata associated with the specified channel. Please note that this action cannot be undone.

API URL

For channels that are associated with a physical sensor device:
https://api.ubibot.io/channels/CHANNEL_ID/device?parameters

For all other channels:

https://api.ubibot.io/channels/CHANNEL_ID?parameters

Where CHANNEL_ID is the ID of the target channel.

HTTP Method

DELETE

URL Parameters

Name Type Required Description
account_key or token_id String Required for private channels Specify the API write key of the channel, or the token_id obtained after the user logged in.

Response

200 Success. Body contains a JSON object with the success message.

Error: See the separate list of error codes for more details.

Examples

DELETE https://api.ubibot.io/channels/123?account_key=xxxxx-xxxxx-xxxxx-xxxx

The response is a JSON object. For example: