cURL
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": [] }
Update a specific segment specifying the id
Identifier of the segment
Update a segment
Successfully updated the segment.
Segment
Was this page helpful?