Skip to main content

Delete a media file

DELETE 

/media/:id

If the media is attached to scheduled posts the delete is refused with 409 media_in_use unless ?force=true, in which case those pending destinations are cancelled (marked failed with a cancellation note) and cancelled_post_count reports how many. Deletion is permanent and frees storage. Fires the media.deleted webhook event.

Request

Responses

Deleted