cURL
curl --request PUT \ --url https://api.pelanor.io/v2/dimensions/{dimensionId}/segments/{segmentId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "rules": { "filterGroups": [ { "operator": "OR", "filters": [ { "propertyId": "<string>", "values": [ "<string>" ], "operator": "EQUALS" } ], "children": [ {} ], "constraint": "USES" } ] } }'
{ "dimensionId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A successful response.
The response is of type object.
object