mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
29 lines
834 B
JSON
29 lines
834 B
JSON
[
|
|
{
|
|
"request": "POST /api/admin/servers/1/databases/1/rotate-password",
|
|
"status": 200,
|
|
"body": {
|
|
"object": "server_database",
|
|
"attributes": {
|
|
"id": "eV8y0jg6",
|
|
"host": {
|
|
"address": "10.0.0.5",
|
|
"port": 3306
|
|
},
|
|
"name": "s1_main",
|
|
"username": "u1_mainuser",
|
|
"connections_from": "%",
|
|
"max_connections": 10,
|
|
"relationships": {
|
|
"password": {
|
|
"object": "database_password",
|
|
"attributes": {
|
|
"password": "<generated-password-1>"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|