PUT
/
v1
/
segments
/
{id}
cURL
curl --request PUT \
  --url https://api.pelanor.io/v1/segments/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dimension_id": "<string>",
  "manual_relational_filters": [
    {
      "filters": [
        {
          "operator": "Equals",
          "property": {
            "type": "Region"
          },
          "values": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "new_name": "<string>"
}'
null

When updating a segment, you’ll define a filter condition for this segment. Refer to the Queryable Properties document to see the full list of available properties for filtering.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json

The response is of type null.