Skip to main content
Skip table of contents

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):

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

See also

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.