Media Storage
Delete media
Delete a published media item you own: the file, its catalog entry, and all its tags are removed, so it disappears from galleries and its URL 404s. Requires your secret (sk_) API key. Untagged uploads were never published, have no catalog entry, and can't be deleted — they use the same 30-day lifecycle, refreshed by a GET once they are at least 15 days old. Alpha: this endpoint is new and its API may still change.
delete/media/{id}
Request
- Base URL: https://media.pollinations.ai
- URL: https://media.pollinations.ai/media/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Media id (from the upload response or GET /media).
Response
Item deleted
Changes
No recorded changes to this operation across all 1 revision of this API.