Deleting activity nodes
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 7, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To delete an activity entry, use an HTTP method.

Send an HTTP DELETE method to the edit web address specified for the node.

Deleted activity entries are moved to the trash collection and can be restored.
Input
Method URI Description
DELETE /activities/service/atom2/activitynode Value of the href attribute of the <link> element with the rel="edit" attribute value in the user's overview feed.
Deleted activity entries are moved to the trash collection and can be restored. See Restoring activity entries for more details.
Name Type Optional Description
activityNodeUuid
string No The UUID of the activity node.
Output
Code Description
204
Indicates the activity entry was successfully deleted (and no content is returned).
403
Forbidden. Authorization Failed
404
Not Found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.