OpenTV ENTera & OpenTV Platform Documentation
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Delete all bookmarks created before or after a certain date for an account

Request

To delete all the bookmarks that were created before or after a certain date for an account, send a DELETE request to:

http://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/bookmarks?modifiedDate.{gte|lte}={date-time}

Headers

  • Authorization: Bearer – bearer token

  • Content-Type: application/json

Mandatory arguments

  • account – the ID of the account

  • gte|lte:

    • gte – greater than or equal to

    • lte – less than or equal to

  • date-time – the date/time in ISO 8601 format

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 created after one second past midnight UTC on 22 December 2018: 

http://<host>:<port>/useractivityvault/v1/clientdata/account/1888766/bookmarks?modifiedDate.gte=2018-12-22T00:00:01Z

The response will look like this (showing there were four bookmarks that were deleted):

{
    "bookmarks": [],
    "totalRecords": 4
}

See also

For full details of this API, see User Activity Vault (UAV) API documentation.