POST https://restapi.actonsoftware.com/api/1/list
This endpoint allows you to remove records from a list.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
listid | Path | False | Required | String | Specify the list 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/api/1/list/l-000e/record?contactids=l-000e:0 -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"