Update Access List
update_access_listModify an existing access list by ID to change client allow/deny rules, basic-auth users, name, and auth settings. Preview changes with dry_run before applying them in Nginx Proxy Manager.
Instructions
Update writable fields on an existing access list by ID, including client rules and basic-auth users. Use this to edit access controls; use delete_access_list to remove a list. NPM receives the merged writable fields; item passwords are write-only and cannot be read back. Returns the updated list object with its name and rules. Set dry_run=True to preview the exact request without changing NPM.
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": {
"id": "<id>"
},
"name": "update_access_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the access list, from the matching list tool. | |
| name | No | Human-readable name for this access list. For updates, omit to keep the current value. | |
| items | No | Basic-auth users as username/password pairs; passwords are write-only in NPM. For updates, omit to keep the current value. | |
| clients | No | IP or network rules; each directive must be allow or deny. For updates, omit to keep the current value. | |
| dry_run | No | When True, return the exact request preview without changing NPM. | |
| pass_auth | No | Whether NPM passes basic-auth credentials upstream. For updates, omit to keep the current value. | |
| satisfy_any | No | Whether satisfying any configured access rule is sufficient. For updates, omit to keep the current value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||