Skip to main content
DELETE
/
api
/
v1
/
phone-numbers
/
trunks
Delete an external trunk
curl --request DELETE \
  --url https://{subdomain}.mihu.ai/api/v1/phone-numbers/trunks \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "phone_number": "<string>",
    "channel": "call",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

phone_number
string
required

Phone number whose trunk binding should be removed. E.164 with or without leading + — both forms are accepted.

channel
enum<string>
required

Which channel binding to remove. To remove the trunk on every channel, call this endpoint once per channel.

Available options:
call,
whatsapp

Response

Deleted

success
boolean

Always true on a 200 response.

message
string

Human-readable status message.

data
object

Confirmation of what was removed.