Managed Databases

Rotate credentials

Generate a new password for the database user. Existing connections keep working until they disconnect; new connections must use the new password. Fetch it via GET /api/v1/databases/{database_id}/connection?reveal=true.

post/api/v1/databases/{database_id}/credentials/rotate

Path parameters

database_idstring required

Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)

Response

Credentials rotated

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Operation completed successfully"
}

Changes