cURL
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": "<string>", "username": "<string>" }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project identifier
Region identifier
DBAAS PostgreSQL cluster name
Username/password
Password
"<PASSWORD>"
Username
"myuser"
Was this page helpful?