Restore activities 

To restore a deleted activity, use a HTTP PUT request. This moves the activity from the trash feed to the user's My Activities feed.

Note: Remove the <category scheme="http://www.ibm.com/xmlns/prod/sn/flags" term="deleted"/> flag element from the entry before restoring it.

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

Table 1. Atom API request details

Method Resource URI Entry
PUT activity Value of the href attribute of <link rel="edit"> element of an activity in the user's Activity Trash feed. activity


Input

None.


Output

None.

Returned HTTP headers

Error codes


Parent topic

Work with activities programmatically

Related reference
Activity content


   

 

});