Delete a blog programmaticallyTo 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.
Table 1. 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.
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the blog was successfully deleted (and no content is returned).
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
DELETE /blogs/homepage/api/blogs/0c0fc393-2e36-4d0e-9c9f-d4cfd10bfa70 HTTP/1.1 Authorization: Basic ... Host: blogs.enterprise.example.com
HTTP/1.1 204 No Content Content-Language: en-US Content-Length: 0
Parent topicWork with blogs