POST
/
cloud
/
v1
/
dbaas
/
postgres
/
clusters
/
{project_id}
/
{region_id}
/
{cluster_name}
/
users
/
{username}
/
credentials
curl --request POST \
  --url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name}/users/{username}/credentials \
  --header 'Authorization: <api-key>'
{
  "password": "<PASSWORD>",
  "username": "myuser"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

cluster_name
string
required

Cluster name

username
string
required

Username

Response

200
application/json

New user credentials

The response is of type object.