Community articleDeleting a community event comment
Added by IBM contributorIBM on March 14, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To delete a community event comment, use the HTTP DELETE method.
Tags: commapi


To delete a community event comment, use the HTTP DELETE method.

Only community owner or the comment creator can delete it. Deleted comment cannot be restored.

See Authenticating requests for information about how to authenticate the request.

Note:

  • This request needs authentication.
  • See "Retrieving community event comments" for more information about how to get the community event comments feed.

Input

None.

Output

None.

Input
Method URI Description
DELETE /communities/calendar/atom/calendar/event/comment Value of the href attribute of the <link> element with a rel="edit" attribute value for each entry that represents a comment in community event comments feed.
Name Type Optional Description
commentUuid
string No The uuid of comment instance that you want to query about. This is a mandatory parameter.
Output
Code Description
204
Indicates that the community event comment was successfully found and deleted. If an error occurs, this header will contain one of the error codes below.
400
Bad Request.
401
Unauthorized.
403
Forbidden.
404
Not Found.