Pterodactyldocs
Application servers database management

Reset password

Rotates the password of the database

POST/api/application/servers/{id}/databases/{database}/reset-password

Authorization

ApplicationToken
AuthorizationBearer <token>

Application API key (generated at /admin/api)

In: header

Path Parameters

id*integer

Server ID (internal numeric ID)

database*integer

Database ID

Response Body

curl -X POST "https://example.com/api/application/servers/5/databases/1/reset-password"
Empty