Skip to main content
Glama

Delete image

delete_media
DestructiveIdempotent

Permanently delete an uploaded image by id. The URL stops working immediately. Posts that referenced it will show a broken image until edited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blog_idNoYour blog's id, as returned by signup. Optional with an API key: it defaults to the key's blog, and any id you pass must be that blog. Required when the server runs without API keys.
media_idYesId of the image (`media.id` from upload_media or list_media).
idempotency_keyNoOptional retry key, any unique string (e.g. a UUID). Retrying with the same key and identical arguments returns the first result instead of writing again; the same key with different arguments fails with IDEMPOTENCY_KEY_CONFLICT. Scoped to your API key and this tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only on failure (isError: true). Success fields are absent then.
deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.