Skip to main content
Use this endpoint to rename a filter set, change its target record type, or replace its filter rules. All request body fields are optional — you only need to include the fields you want to change, and the rest remain untouched.

Endpoint

Required Scope

Your API key must have the filter_sets:write scope (or the broader all:write scope) to call this endpoint.

Path Parameter

string
required
The unique identifier of the filter set to update. Retrieve this value from the List Filter Sets endpoint.

Request Body

All fields are optional. Only the fields you include in the request are updated.
string
A new human-readable label for the filter set.
string
Change the record type the filter set targets. Accepted values are "account" and "contact". Be aware that changing type may invalidate existing filters that reference type-specific attributes.
array
A replacement array of filter rule objects. When provided, this value fully replaces the existing filter rules — it is not merged. Each object requires key, keyType, and condition fields, with an optional value.

Example Request

Response

Returns 200 OK with the updated FilterSetDetailResponse object.

Response Fields

string
The unique identifier of the updated filter set.
string
The current human-readable label for the filter set after the update.
string
The record type this filter set targets — either "account" or "contact".
System-managed filter sets cannot be updated via the API. Attempting to modify one returns a 403 error.

Error Responses