Skip to main content
POST
Reset Database Password
string
required
The ID of the database to reset the password for.

Response

object
The response containing the new password.

Error Responses

string
The error code indicating the reason for failure. Possible values:
  • AUTH_TOKEN_MISSING, API_KEY_INVALID, SESSION_REVOKED: The Authorization header is missing, the API key is invalid, or the dashboard session was revoked (401).
  • API_KEY_IP_DENIED, API_KEY_SCOPE_DENIED: The API key is used from an IP outside its allowlist, or it lacks the scope the route requires (403).
  • ACCESS_DENIED: The resource belongs to another account, or you lack the workspace permission for it (403).
  • DATABASE_NOT_FOUND_OR_FORBIDDEN: The specified database does not exist or the user lacks access.
  • INVALID_PLAN_CONFIG: The database plan configuration is invalid.
  • FAILED_TO_REBUILD_DATABASE: Failed to rebuild the database with the new password.
string
A descriptive message providing additional details about the error.
Last modified on October 28, 2026