PATCH
/
configuration
/
v1
/
segments
/
{segmentId}
curl --request PATCH \
  --url https://api.sandbox.asapp.com/configuration/v1/segments/{segmentId} \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "structuredDataFieldIds": []
}'
{
  "id": "USER_SUPPORT",
  "name": "Support",
  "query": {
    "type": "raw",
    "raw": "TRUE"
  },
  "structuredDataFieldIds": []
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Path Parameters

segmentId
string
required

Identifier of the segment

Body

application/json

Update a segment

Response

200
application/json

Successfully updated the segment.

Segment