Request
To delete all the bookmarks for an account, send a DELETE request to:
Bash
http://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks
This request deletes all the bookmarks for all profiles in the account.
Headers
-
Authorization: Bearer– bearer token -
Content-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:
Bash
http://<host>:<port>/useractivityvault/v1/clientdata/account/1888766/bookmarks
The response will look like this (showing there were two bookmarks that were deleted):
JSON
{
"bookmarks": [],
"totalRecords": 2
}
See also
For full details of this API, see (25.26_Q2 1) User Activity Vault (UAV) API documentation.