Add/Update Default Segment for Users

Sets the given Segment ID as the default segment for the provided list of User IDs under the specified Dataset ID. Users included in the list will have their default segment added or updated accordingly. Any users not included in the list will have their existing default-segment association under this dataset removed.

Query Params
string
required

Email associated with the account.

Body Params
string
required

Dataset ID for which you need to assign segment as default.

int32
required

Segment ID which you want to assign as default.

users
array of int64s

List of User IDs for whom you need to assign a segment as default.

users
Responses
204

Segment Preference updated successfully. No content returned.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json