Rotate Database Password
pterodactyl_rotate_database_passwordRotates a Pterodactyl server database password and returns the new credential, invalidating connections that use the old password.
Instructions
Rotate (reset) the password for a server database. Returns the new password.
Warning: This will invalidate any existing connections using the old password.
Args:
server (string): Server identifier
db (number): Database 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": {
"server": "<server>",
"db": "<db>"
},
"name": "pterodactyl_rotate_database_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Database ID | |
| server | Yes | Server identifier (short ID like 'abc12345') |