curl --request POST \
--url https://api.bland.ai/v1/sip/detach \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"phone_number": "<string>",
"directions": [
{}
],
"service": "<string>"
}
'Remove SIP configuration from a phone number for specified directions.
curl --request POST \
--url https://api.bland.ai/v1/sip/detach \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"phone_number": "<string>",
"directions": [
{}
],
"service": "<string>"
}
'type field set to "inbound" or "outbound"."sip".curl -X POST https://api.bland.ai/v1/sip/detach \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+14150000000",
"directions": [
{ "type": "outbound" }
],
"service": "sip"
}'
Was this page helpful?