curl --request POST \
--url https://api.cleartalk.ai/sip/detach \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone_number": "+14444444477",
"direction": "both"
}
'Remove the SIP configuration (inbound and/or outbound) associated with a specific phone number. After detaching, the number will no longer route calls via SIP.
curl --request POST \
--url https://api.cleartalk.ai/sip/detach \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone_number": "+14444444477",
"direction": "both"
}
'API Key for authentication
SIP configuration detached successfully.