Delete Image
Delete image from channel with HTTP DELETE
Request
HTTP Method
DELETE
URL
https://data.thingspeak.com/channels/<channel_id>/images?timestamp=<timestamp_src>&start=<start_time>&end=<end_time>
URL Parameters
| Name | Description |
|---|---|
| (Required) Channel ID for the channel to remove images from. |
| Source of timestamp when image was posted. Either
|
| Beginning of timestamp range for images to delete, in the format
|
| End of timestamp range for images to delete, in the format
|
Example:
https://data.thingspeak.com/channels/95b0766f76/images?timestamp=ingest&start=2022-02-22T22:22:22.2222+05:00&end=2022-06-22T22:22:22.2222+05:00
Body Parameters
None.
Headers
The following headers are required for an image DELETE request.
| Key Name | Value |
|---|---|
thingspeak-image-channel-api-key | (Required) The API Key for this specific image channel. The Write API Key is found on the API Keys column of the image channels view. |
Response
Success
202 Accepted
The immediate response is a JSON object with the request ID, code, and status. For example:
{
"requestID": "cl2th2wxyuvtsr7m9e3l5blje",
"code": 0,
"status": "PENDING"
}Error
For the full list, see Error Codes.
