Home
Delete comments
To delete a comment from a blog posting, use the HTTP DELETE method.
Only the owner of a blog can delete a comment from it. Deleted comments 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 comment Value of the href attribute of <link> element that contains a rel="edit" attribute value for each entry in the Comments feed. none
Input
None.
Output
None. Returned HTTP Headers
- HTTP/1.1 204 No Content
- Indicates that the blog comment was successfully deleted (and no content is returned).
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference