Delete all bookmarks for an account
Request
To delete all the bookmarks for an account, send a DELETE request to:
http://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks
Headers
Authorization: Bearer
– bearer tokenContent-Type: application/json
Mandatory arguments
account
– the ID of the account
Response
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
An unauthorised request returns an HTTP 401 status.
If an account with the specified ID cannot be found, the request returns an HTTP 404 status.
Example
The following DELETE request deletes all bookmarks for the account with an ID of 1888766:
http://<host>:<port>/useractivityvault/v1/clientdata/account/1888766/bookmarks
The response will look like this (showing there were two bookmarks that were deleted):
{
"bookmarks": [],
"totalRecords": 2
}
See also
For full details of this API, see User Activity Vault (UAV) API documentation.