Main Content

Delete All TalkBack Commands

Delete all TalkBack commands in TalkBack queue

Request

HTTP Method

DELETE

URL

https://api.thingspeak.com/talkbacks/<talkback_id>/commands.<format>

Input Arguments

NameDescription

<talkback_id>

(Required) TalkBack ID, specified as a positive integer.

<format>

Format for the HTTP response, specified as json or xml.

Example: https://api.thingspeak.com/talkbacks/12345/commands.json

Query String Parameters

NameDescriptionValue Type
api_key

(Required) API key for this specific instance of TalkBack. The TalkBack key is different from the channel and user API keys.

string

Content-Type

application/x-www-form-urlencoded

Response

Success

HTTP Status Code

200 OK

Body

Leave <format> blank to receive the response in text format.

DELETE https://api.thingspeak.com/talkbacks/TALKBACK_ID/commands/COMMAND_ID
       api_key=YOUR_TALKBACK_API_KEY=XXXXXXXXXXXXXXXX

Sample Response

The response body is empty.

DELETE https://api.thingspeak.com/talkbacks/12345/commands.json
       api_key=XXXXXXXXXXXXXXXX

Response

The response is an empty JSON array.

DELETE https://api.thingspeak.com/talkbacks/12345/commands.xml
       api_key=XXXXXXXXXXXXXXXX

Response

The response is an empty XML array.

Error

For the full list, see Error Codes.