When using this API in an IBM SmartCloud
™ for Social Business environment, note that certain differences might exist. For more information, see Activities API
in the IBM Social Business Development wiki.
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.
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|
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates activity was successfully deleted (and no content is returned).Error codes
- HTTP/1.1 403 Forbidden: Authorization failed.
- HTTP/1.1 404 Not Found
Parent topic: Working with activities programmatically
DELETE /activities/entries HTTP/1.1
Content-Type: application/atom+xml; charset=utf-8