Update trunk credential
update_trunk_credentialRotate a trunk credential's SIP password, pause or re-enable its authentication, or edit its description on Vobiz. Only the fields you pass change; the username stays fixed.
Instructions
Rotate a trunk credential's password, enable or disable it, or change its description on Vobiz. The username is permanent; to rename, create a new credential and delete the old one. A new password takes effect for the next SIP authentication; only the fields you pass change. Prefer enabled: false over delete_trunk_credential when access may be needed again. Returns the updated credential with the password redacted. An unknown credential_id raises not_found. Gated by VOBIZ_ENABLE_PROVISIONING and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true, set only after the user explicitly approved: changing this trunk credential. | |
| enabled | No | false pauses authentication with this credential without deleting it; true re-enables it. | |
| password | No | SECRET: the trunk credential's new SIP password (8+ characters; 12+ with mixed case, digits and symbols recommended). It is sent to Vobiz once and never shown again. | |
| description | No | Free-text note of up to 255 characters, e.g. why or when the password was rotated. | |
| credential_id | Yes | Trunk credential UUID: the id from list_trunk_credentials or create_trunk_credential. Unknown ids raise not_found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success. On a failure the result is isError with ok: false plus `error` (kind), `message`, `retryable` and sometimes `http_status`. | |
| note | No | Reminder that passwords are never returned here. | |
| changed | No | Names of the fields sent to Vobiz. | |
| updated | No | True when the change was applied by this call. | |
| credential | No | The credential after the change, password redacted. | |
| http_status | No | HTTP status Vobiz answered with. |