POST
/
servers
/
{server}
/
databases
/
{database}
/
rotate-password
Rotate password
curl --request POST \
  --url https://dashboard.gratian.pro/api/client/servers/{server}/databases/{database}/rotate-password \
  --header 'Authorization: Bearer <token>'
[
  "<any>"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

server
string
required

The server UUID

database
integer
required

The database ID

Response

200
application/json

The response is of type any[].