Configuration

Reset the database password

Changed on

Replaces the database's password with a new random one, in the background. Read the new password with GET /v1/databases/{databaseID} once the operation succeeds (see GET /v2/databases/{databaseID}/operations-status). Only for running mysql, mariadb, postgres and mongodb databases.

This endpoint is rate limited. Team permission: manage.

patch/v2/databases/{databaseID}/reset-password

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v2/databases/{databaseID}/reset-password
  • Auth
    HTTP bearer

Path parameters

databaseIDstring required

24-character hexadecimal ID.

The database's _id.

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Response

The reset started. The response body is empty.

Changes