GenAerial LogoGenAerial
DELETE/api/external/v1/image-generation/{id}

Delete Image

Permanently removes a generated image from your account by its identifier.

Request URL

plaintext
https://api.genaerial.com/api/external/v1/image-generation/{id}

Path Parameters

ParameterTypeDescription
id(required)string

The unique identifier of the image to delete.

Responses

200OK

Image successfully deleted.

404Not Found

Image not found.

json
{
  "status": 404,
  "error": "NotFound",
  "message": "Image with the specified ID was not found"
}
401Unauthorized

Invalid or missing API key.

Code Examples

bash
curl -X DELETE "https://api.genaerial.com/api/external/v1/image-generation/img_abc123" \
  -H "x-api-key: YOUR_API_KEY"