Skip to main content
POST
/
sip
/
detach2
Detach a SIP Number
curl --request POST \
  --url https://api.cleartalk.ai/sip/detach2 \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phone_number": "+14155552671",
  "directions": [
    {
      "type": "inbound"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
phone_number
string
required

The phone number to detach

Example:

"+14155552671"

directions
string[]
required

Routing directions for the call

Example:
[{ "type": "inbound" }]

Response

The number has been successfully detached.