Home
Delete a comment
Delete a comment associated with a file belonging to you or to someone else and to which you have access.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method URI Input and output representations Description DELETE /basic/api/userlibrary/{userid}/document/{document-id}/comment/{comment-id}/entry none Deletes a comment from a someone else's file. DELETE /basic/api/myuserlibrary/document/{document-id}/comment/{comment-id}/entry none Deletes a comment from one of your files. You can also find the URI of the resource in the value of the href attribute of the <link rel="edit"> element for each entry in the Comments feed.
{document-id} is the value of the <td:uuid> or <td:label> elements in the file's Atom entry document and {userid} is the value of the <snx:userid> of the person who owns the file. See Searching Profiles for more information about how to determine a person's user ID.
Input
None.
Output
None. Returned HTTP Headers
- HTTP/1.1 204 No Content
- Indicates that the comment was successfully deleted.
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference