Delete a blog programmatically 

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.

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.

none

Input

None.


Output

None.

Returned HTTP headers

HTTP/1.1 204 No Content

Error codes


Example

Input

DELETE /blogs/homepage/api/blogs/0c0fc393-2e36-4d0e-9c9f-d4cfd10bfa70 HTTP/1.1
Authorization: Basic ...
Host: blogs.enterprise.example.com

Response

HTTP/1.1 204 No Content
Content-Language: en-US
Content-Length: 0


Parent topic

Work with blogs


   

 

});

+

Search Tips   |   Advanced Search