curl --request POST \
--url https://api.example.com/api/v1/databases/{id}/reset-passwordGenerate a new password for a database.
curl --request POST \
--url https://api.example.com/api/v1/databases/{id}/reset-password| Parameter | Type | Description |
|---|---|---|
id | uuid | Database ID |
{
"password": "new-generated-password"
}
| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND | Database doesn’t exist or isn’t owned by this user |