/v1/accounts/{accountId}/contactLists/{contactListId}/numbersDeletes one or more numbers from a contact list.
Numbers are identified by the id of the contact list number objects, which is not the phone number itself: list the numbers first to get their IDs.
ID of your SIP Caller account. See Account ID.
ID of the contact list.
A JSON array with the IDs of the numbers to delete. The IDs can't be repeated.
Returns an array with the IDs of the deleted numbers. If none of the numbers exist, returns 404 Not Found.
/v1/accounts/ACCOUNT_ID/contactLists/CONTACT_LIST_ID/numbers
curl -X DELETE 'https://api.sipcaller.com/v1/accounts/ACCOUNT_ID/contactLists/CONTACT_LIST_ID/numbers' \
-H 'Authorization: Bearer API_KEY_TOKEN' \
-H 'Content-Type: application/json' \
-d '[
6,
7,
8
]'Response
200 OK
[
6,
7,
8
]