---
title: "Delete a generated image"
method: DELETE
path: "/images/{teamUid}/{filename}"
tags: ["Images"]
---

# Delete a generated image

`DELETE /images/{teamUid}/{filename}`

## Request

- Base URL: `https://api.dynapictures.com`
- URL: `https://api.dynapictures.com/images/{teamUid}/{filename}`
- Auth: HTTP bearer

Permanently deletes a generated image. Both path parts come from the image URL: for `https://edge.dynapictures.com/ff01d10f8d/9be4738250.png` they are `ff01d10f8d` and `9be4738250.png`.

## Path parameters

- `teamUid` string, required
- `filename` string, required

## Response `200`

The image was deleted. The response has no body.

## Other responses

- `400`: The request is invalid. `message` says why.
- `401`: The API key is missing or wrong.
- `403`: The plan limit is reached, the trial has expired, or the key has no access to this resource.
- `404`: The resource does not exist, or the key has no access to it.

---

[API](https://skmtc.dev/dynapictures/apis/dynapictures-api.md) - [All operations](https://skmtc.dev/dynapictures/apis/dynapictures-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dynapictures/apis/dynapictures-api/revisions/a9820777cfb3?raw)
