Delete activities programmatically 

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

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

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

Table 1. Atom API request details

Method Resource URI Input and output representations
DELETE activity Value of the href attribute of <link> element with the rel="edit" attribute in user's overview feed. None


Input

None


Output

None

Returned HTTP headers

HTTP/1.1 204 No Content

Error codes


Example

Input

DELETE /activities/entries HTTP/1.1
Host: activities.example.org
Content-Type: application/atom+xml; charset=utf-8


Parent topic

Work with activities programmatically

Related reference
Activity content


   

 

});