Community articleDeleting activities programmatically
Added by IBM contributorIBM on June 19, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To delete an existing activity, use the HTTP DELETE method.



To delete an existing activity, use the HTTP DELETE method.

Deleted activities are moved to the trash collection and can be restored. See Restoring activities for more details.

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

Input

None.

Output

None.

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
References