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 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.