update_auth_server
Updates an existing LDAP or RADIUS authentication server by ID, allowing changes to its host, port, type, credentials, and related settings.
Instructions
Update an existing authentication server by ID
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": {
"auth_server_id": "<auth_server_id>"
},
"name": "update_auth_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the auth server | |
| name | No | Descriptive name for this auth server | |
| port | No | Port number | |
| type | No | Server type - "ldap" or "radius" | |
| scope | No | LDAP search scope ("one" or "subtree") | |
| authcn | No | LDAP authentication container(s) | |
| basedn | No | LDAP base DN for searches | |
| transport | No | Transport protocol for LDAP ("tcp", "ssl", "starttls") | |
| ldap_binddn | No | LDAP bind DN | |
| ldap_bindpw | No | LDAP bind password | |
| radius_secret | No | RADIUS shared secret | |
| auth_server_id | Yes | Auth server ID (array index from search_auth_servers) | |
| ldap_attr_user | No | LDAP username attribute | |
| radius_timeout | No | RADIUS timeout in seconds | |
| ldap_attr_group | No | LDAP group attribute | |
| radius_protocol | No | RADIUS protocol ("MSCHAPv2", "MSCHAPv1", "CHAP_MD5", "PAP") | |
| ldap_attr_member | No | LDAP group member attribute | |
| radius_acct_port | No | RADIUS accounting port | |
| radius_auth_port | No | RADIUS authentication port |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||