DELETE https://restapi.actonsoftware.com/ucl/v2/segment/{accountId}/list/{segmentId}
This endpoint allows you to delete All Contacts segments from the account.
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 listId that you would like to access. |
Response
{ "List deleted" }
Code Examples
cURL
curl -X DELETE https://restapi.actonsoftware.com/ucl/v2/segment/{accountId}/list/{segmentId} -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"