> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Detach SIP Configuration

> Remove SIP configuration from a phone number for specified directions.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Body

<ParamField body="phone_number" type="string" required>
  The phone number to detach SIP routing from. Must be in E.164 format.
</ParamField>

<ParamField body="directions" type="array" required>
  Direction(s) to remove. Each object must have a `type` field set to `"inbound"` or `"outbound"`.
</ParamField>

<ParamField body="service" type="string" required>
  Must be set to `"sip"`.
</ParamField>

```json Example Request theme={null}
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"
  }'
```

***

Docs for agents: [llms.txt](/llms.txt)
