Delete media resources 

To delete a file uploaded to a blog, use the HTTP DELETE method.

When you delete a file, the server also deletes the associated media link entry. Deleted files and media link entries cannot be restored.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input and output representations
DELETE media resource Value of the href attribute of <link> with a rel="edit-media" attribute value for each entry in the media link entries feed. none





Returned HTTP headers

HTTP/1.1 204 No Content

Error codes

Parent topic

Work with media resources

Related reference
Media link content