DELETE https://restapi.actonsoftware.com/ucl/segment/V1/contacts/{accountId}/list/{listId}
This endpoint allows you to remove records from an All Contacts Segment.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
authorization | header | false | required | string | Insert your generated access token. (Bearer {access token}) |
accountId | Path | false | required | number | Account ID where query needs to be done |
segmentId | Path | False | required | String | Specify the segment ID in which you would like to access. |
contactIds | query | false | required | String | Specify the records (comma-delimited) you would like deleted. |
Response
{ "success_count": 1, "fail_count": 0, "failedList": [] }
Code Examples
cURL
curl -X DELETE https://restapi.actonsoftware.com/ucl/v2/segment/contacts/{accountId}/list/{segmentId}?contactIds=1 -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"