Pterodactyl Client icon

Pterodactyl Client

User-level server management with Pterodactyl Panel Client API

Database → Rotate Password

AI-generated

Summary

Rotate the password for a specific database belonging to a selected server on the Pterodactyl panel.

Inputs

  • Server (required) — Select the server containing the database from which to rotate the password.
  • Database (required) — Select the database for which the password should be rotated. This list is dynamically loaded based on the selected server.

Output shape

a single JSON object containing the updated database information, including the new password details if returned by the API.

The password rotation affects the specified database only. The output will include the updated database information. No pagination applies. Errors will be thrown if rotation fails or required parameters are missing.

Examples

Example 1: Rotate database password for a game server's database

Select the desired server from the 'Server' dropdown, then choose the target database from the dynamically loaded 'Database' dropdown, then execute the operation.

Discussion