Managed Databases

Rotate credentials

Changed on

Generate a new password for the admin user (raffadmin). New connections must use the new password; update your apps right away. Fetch it via GET /api/v1/databases/{database_id}/connection?reveal=true.

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

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/databases/{database_id}/credentials/rotate
  • Auth
    API key in header X-API-Key

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