Clear all data from channel with HTTP DELETE
(Required) Channel ID for the channel of interest, specified as an integer.
(Required) Format for the HTTP response, specified as
(Required) Specify User API Key, which you can find in your profile. This key is different from the channel API keys.
For the full list, see Error Codes.
You can use POSTMAN to try out your HTTP requests using the RESTful API for ThingSpeak. This example shows how to clear a channel using POSTMAN.
Clear the data in a channel. Here is the format of the HTTP request.
DELETE https://api.thingspeak.com/channels/4/feeds.json api_key=XXXXXXXXXXXXXXXX
In POSMAN, select DELETE from the drop-down list of HTTP verbs.
In the address bar, enter
replacing <channelID> with the ID of the channel you want to
Under the Body, choose x-www-form-urlencoded.
Enter the parameter
api_key and your user
API Key, which is found in Account >
The response is an empty JSON object, and a 200 OK from the server.