v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Managed PostgreSQL

Get PostgreSQL user credentials

Get the credentials for a specific user in a PostgreSQL cluster. This endpoint can only be used once per user.

get/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name}/users/{username}/credentials

Path parameters

project_idinteger required

Project ID

Project ID

region_idinteger required

Region ID

Region ID

cluster_namestring required

Cluster name

Cluster name

usernamestring required

Username

Username

Response

OK

passwordstring required

Password

usernamestring required

Username

Example response

{
  "password": "<PASSWORD>",
  "username": "myuser"
}