Home
Delete a blog
To delete a blog, send an HTTP DELETE request to the existing blog's edit link.
When you delete a blog, it cannot be restored
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Input and output representations DELETE blog definition
- Value of the href attribute of the <link rel="edit"> element of each entry in the My Blogs feed.
- Web address returned in the HTTP location header when the blog was created.
none
Input
None.
Output
None. Returned HTTP Headers
- HTTP/1.1 204 No Content
- Indicates that the blog was successfully deleted (and no content is returned).
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Example
InputDELETE /blogs/homepage/api/blogs/0c0fc393-2e36-4d0e-9c9f-d4cfd10bfa70 HTTP/1.1 Authorization: Basic ... Host: blogs.enterprise.acme.comResponse
HTTP/1.1 204 No Content Content-Language: en-US Content-Length: 0