Delete activity nodesTo delete an activity entry, 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. See Restore activity entries for more details.
The types of activity nodes that you use to create entries has changed from 1.0.x. For example, in 1.0.x, to create an entry that included a bookmark or file, you posted an entry node of type bookmark or of type file. In 2.0, to create an entry that includes a bookmark or file, post an entry node of type entry and include a field of the appropriate type, link or file respectively, in that entry. For information about the entry types that were supported in 1.0.x, go to the following external web site:
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 node Value of the href attribute of the <link> element with the rel="edit" attribute value in the user's overview feed. none
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates the activity entry was successfully deleted (and no content is returned).
- HTTP/1.1 403 Forbidden: Authorization Failed
- HTTP/1.1 404 Not Found
Parent topicWork with activity nodes
To-do item content