Skip to content

Update a saved search

Request

Update a SavedSearch resource. Only the provided fields will be updated

Security
bearerToken
Path
idstringrequired

The unique ID of the SavedSearch

Bodyapplication/jsonrequired
namestring or null

Name of the SavedSearch

Example:"My favourite search"
emailUserOnNewUploadsboolean or null

Whether to email the creator when a new upload matches the saved search criterion

Example:true
curl -i -X PATCH \
  'https://api-v2.dash.app/saved-searches/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "My favourite search",
    "emailUserOnNewUploads": true
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "1627573b-1273-441e-90d1-505d1f8ab47c", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "name": "My favourite search", "emailUserOnNewUploads": true, "criterion": {}, "sorts": [] }, "permittedActions": [ {} ] }