Delete all bookmarks for an account for a series/season
Request
To delete all the bookmarks for an account for a specific series, send a DELETE request to:
http://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks?metadata.seriesId={seriesId}
To delete all the bookmarks for an account for a specific season, send a DELETE request to:
http://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks?metadata.seasonId={seasonId}
Headers
Authorization: Bearer
– bearer tokenContent-Type: application/json
Mandatory arguments
account
– the ID of the account- One of:
seriesId
– the ID of the seriesseasonId
– the ID of the season (unique across series)
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.
Example
The following DELETE request deletes all bookmarks for the account with an ID of 1888766 for the season with an ID of Breaking Bad 02
:
http://<host>:<port>/useractivityvault/v1/clientdata/account/1888766/bookmarks?metadata.seasonId=Breaking Bad 02
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 the User Activity Vault (UAV) API documentation.