Request
To delete a search history entry, send a DELETE request to:
https://<host>:<port>/search/v1/history/{id}
Headers
-
Authorization– the client’s access token, as a bearer token (Bearer <access token>). This is theaccess_tokenthat the client gets when it signs in – see Authentication token.
Mandatory arguments
-
id– the ID of the search history item (as returned byGET /search/v1/history– see Getting the search history)
Response
A successful request returns an HTTP 200 status.
The request also returns an HTTP 200 status if there is no search history entry with that ID.
A forbidden request returns an HTTP 403 status – for example, if the access token is missing, invalid, or has expired.
See also
-
For full details of this API, see the Search Facade API documentation.