Skip to main content
Skip table of contents

Delete a favourite from a favourites list

Request

To delete a favourite from a favourites list for an account, send a DELETE request to:

https://<host>:<port>/useractivityvault/v1/clientdata/account/{account}/favouriteslists/{id}/content/{contentId}

Headers

  • Authorization: Bearer – bearer token

  • Content-Type: application/json

Mandatory arguments

  • account – the account ID (in path)
  • id – the ID of the favourites list to delete the favourite from (in the path)
  • contentId – the ID of the content to be deleted as a favourite (in the path)

Other arguments

None

Example

This DELETE request deleted the specified favourite from the specified favourites list for the specified account:

https://<host>:<port>/useractivityvault/v1/clientdata/account/account1234/favouriteslists/3fa85f64-5717-4562-b3fc-2c963f66afa6/content/Die Hard

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 the specified favourite or favourites list does not exist, the request returns an HTTP 404 status.

See also

For full details of this API, see the 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.