/v1/accounts/{accountId}/contactListsDeletes one or more contact lists, with all their numbers. Campaigns whose numbers were copied from a contact list are not affected.
ID of your SIP Caller account. See Account ID.
A JSON array with the IDs of the contact lists to delete. The IDs can't be repeated.
Returns an array with the IDs of the deleted contact lists. If none of the contact lists exist, returns 404 Not Found.
/v1/accounts/ACCOUNT_ID/contactLists
curl -X DELETE 'https://api.sipcaller.com/v1/accounts/ACCOUNT_ID/contactLists' \
-H 'Authorization: Bearer API_KEY_TOKEN' \
-H 'Content-Type: application/json' \
-d '[
"CONTACT_LIST_ID_1",
"CONTACT_LIST_ID_2"
]'Response
200 OK
[
"CONTACT_LIST_ID_1",
"CONTACT_LIST_ID_2"
]