Skip to main content
DELETE
/
v1
/
sip
/
port
/
{id}
Cancel Port Request
curl --request DELETE \
  --url https://api.bland.ai/v1/sip/port/{id} \
  --header 'authorization: <authorization>'
{
  "data": {
    "canceled": true
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

id
string
required
The port request ID to cancel.

Response

canceled
boolean
true if the port request was successfully canceled.
Port requests can only be canceled before they reach the completed status. Once a port is completed, the numbers have already been transferred.
Example Request
curl -X DELETE https://api.bland.ai/v1/sip/port/port_xyz789 \
  -H "Authorization: Bearer <token>"
{
  "data": {
    "canceled": true
  },
  "errors": null
}