Delete a trunk endpoint
trunk_delete_endpointRemove a dispatcher endpoint from a SIP trunk and drop it from Kamailio. Find the endpoint ID first with trunk_list_endpoints.
Instructions
Remove a dispatcher endpoint from an owned trunk and drop it from Kamailio. Use trunk_list_endpoints first to find the endpoint id. Step-up MFA required. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, INTERNAL_ERROR.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trunk_id": "<trunk_id>",
"endpoint_id": "<endpoint_id>"
},
"name": "trunk_delete_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) | |
| endpoint_id | Yes | Endpoint ID (integer, find it with trunk_list_endpoints) |