Update Segment Config

Partially updates a segment configuration. Only the attributes present in the request body are changed; omitted attributes are left untouched.

Use this to adjust rules or output values rather than creating a second config and re-pointing the runs that reference it.

segments is the exception to the partial rule: sending it replaces the entire segment list. There is no way to patch one segment, add one, or reorder without resending the rest. Read the config first and send the full list you want to end up with, or you will silently drop the segments you left out.

Returns 200 with the updated segment config. Returns 400 if the payload is malformed and 404 if no config has the given configId.

This endpoint does not consume credits.

Path Params
string
required

Identifier of the segment config to update.

Body Params

The segment config attributes to change.

JSON API model for a single segment config.

data
object

The primary data of the document

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.api+json