Delete a SIP credential
trunk_delete_credentialDeletes a SIP credential from a trunk group and clears it from Redis and Kamailio usrloc. Idempotent, returns 204 if already absent. Find the credential ID with trunk_list_credentials.
Instructions
Delete a SIP credential and cascade removal from Redis + Kamailio usrloc. Idempotent (returns 204 when already gone). Use trunk_list_credentials first to find the credential id. Step-up MFA required. Errors: INVALID_ID, NO_ACTIVE_CUSTOMER, TRUNK_UNOWNED, 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>",
"cred_id": "<cred_id>"
},
"name": "trunk_delete_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cred_id | Yes | SIP credential UUID (find it with trunk_list_credentials) | |
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) |