OpenTV ENTera & OpenTV Platform Documentation
26.26_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
26.26_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

Clearing the search history

Request

To delete the whole search history of the current user profile, send a DELETE request to:

Bash
https://<host>:<port>/search/v1/history

If the client’s access token identifies a user profile, only that profile’s search history is deleted. If it does not, the search history of every profile on the account is deleted.

Headers

  • Authorization – the client’s access token, as a bearer token (Bearer <access token>). This is the access_token that the client gets when it signs in – see Authentication token.

Mandatory arguments

None.

Response

A successful request returns an HTTP 200 status. The response has no body.

The request also returns an HTTP 200 status if there is no search history to delete.

A forbidden request returns an HTTP 403 status – for example, if the access token is missing, invalid, or has expired.

See also