Request

Removes the specified filters from the search query and returns the updated query.

Security
OAuth2.0
Body

Remove filters request resource.

querystring or null

This parameter is generated automatically by Content Hub and contains the information required to restore a search state. Do not create or modify it manually.

filtersArray of strings or null

The list of filter names to remove from the search query. Each item is a string that represents the name of a filter to be removed.

curl -i -X POST \
  https://your-server/api/search/remove \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "query": "string",
    "filters": [
      "string"
    ]
  }'

Responses

Filters successfully removed

Bodyapplication/json
querystring or null
Response
{ "query": "string" }