> ## 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.

# Cancel Port Request

> Cancel an in-progress number porting request.

### Headers

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

### Path Parameters

<ParamField path="id" type="string" required>
  The port request ID to cancel.
</ParamField>

### Response

<ResponseField name="canceled" type="boolean">
  `true` if the port request was successfully canceled.
</ResponseField>

Port requests can only be canceled before they reach the `completed` status. Once a port is completed, the numbers have already been transferred.

```json Example Request theme={null}
curl -X DELETE https://api.bland.ai/v1/sip/port/port_xyz789 \
  -H "Authorization: Bearer <token>"
```

<ResponseExample>
  ```json Response theme={null}
  {
    "data": {
      "canceled": true
    },
    "errors": null
  }
  ```
</ResponseExample>

***

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