Deleting activities
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, use the HTTP DELETE method.
Deleted activities 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 <link> element with the rel="edit" attribute in user's overview feed.
Name Type Optional Description
activityNodeUuid
string No The UUID of the activity node.
Output
Code Description
204
Indicates activity 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.
References