Delete a bookmark
Request
To delete a specific bookmark (for example, when the user finishes watching the content to the end), send a DELETE request to:
https://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks/{contentId}
Headers
Authorization: Bearer
– bearer tokenContent-Type: application/json
Mandatory arguments
account
– the account ID (in the path)contentId
– the ID of the content for which the bookmark is being deleted (in the path)
Other arguments
pretty
– specifies that the output should be pretty-printed (that is, in human-readable format) (in the path)
Example
This DELETE request deletes the bookmark for the specified content for the specified account:
https://<host>:<port>/useractivityvault/v1/clientdata/account/account1234/bookmarks/abb3e4f37d
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.
A forbidden request returns an HTTP 403 status.
If there is no bookmark for the specified content and account, the request returns an HTTP 404 status.
See also
For full details of this API, see the User Activity Vault (UAV) API documentation.