Update subuser permissions
subuser_updateReplace a subuser's permission set on a Pterodactyl server. Use it to overwrite access rights and optionally block or hide specific files via the SFTP-permissions addon.
Instructions
Replace a subuser's permission set.
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": {
"server": "<server>",
"user": "<user>",
"permissions": "<permissions>"
},
"name": "subuser_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| extra | No | Extra body fields merged into the request verbatim. Modified panels add their own subuser fields whose request names do not always match the ones the API returns; this is how to reach them without another deploy. | |
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| server | Yes | ||
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| denyfiles | No | SFTP-permissions addon: paths this subuser may not see or touch. Anything absent from the list stays readable, so treat it as a blocklist and keep it complete. | |
| hidefiles | No | SFTP-permissions addon: hide the denied paths outright instead of only blocking them. | |
| permissions | Yes | ||
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |