Update Rule-based Segment Definition

Set the definition of a rule-based segment for an environment with targeting rules and exclusions for user keys or segments. This endpoint requires a JSON body containing the rule-based segment definition, including title, comment, rules, and optionally, excluded keys and excluded segments.

Path Params
string
required

The ID of the project (workspace) of the rule-based segment. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

string
required

The name of the rule-based segment to update

string
required

The ID of the FME environment where you want to update the rule-based segment definition

Body Params
string
string
rules
array of objects
rules
excludedKeys
array of strings
excludedKeys
excludedSegments
array of objects
excludedSegments
Responses
200

Successful operation

400

Invalid request format or data

401

Unauthorized

500

Internal server error

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here!