Image APIs
API reference › Uploads

Delete an upload; templates that use its URL show an empty image from then on

DELETE/v1/uploads/{id}

DELETE/v1/uploads/{id}

Delete an upload; templates that use its URL show an empty image from then on

PARAMETERS
idpath · stringREQUIRED
The upload id
e.g. upl_8kq2wzm4tnb7hdc3vrex
In the full reference
REQUEST
curl -X DELETE "https://api.imageapis.com/v1/uploads/upl_8kq2wzm4tnb7hdc3vrex" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "id": "upl_8kq2wzm4tnb7hdc3vrex",
  "object": "upload",
  "deleted": true
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
  "error": "string",
  "message": "string",
  "param": "string"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.