Skip to main content
PATCH
Rename a saved search or replace its filters

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

savedSearchId
string
required

Id of the saved search (24-character hex ObjectId), as returned by GET /saved-searches.

Body

application/json

At least one of title or filters; a search's type cannot change.

title
string

New display name (1-255 chars).

Required string length: 1 - 255
filters
object

Replacement filters in the stored search's own vocabulary — people searches take the keys of POST /prospects/search, company searches the keys of POST /companies/search — validated against the stored type after loading; at least one non-empty value and only accepted enum values (422 VALIDATION_FAILED otherwise, naming the offending key).

Response

Success