Skip to main content
PUT
/
database
/
{databaseId}
/
masterCredentials
Edit database master credentials
curl --request PUT \
  --url https://api.qovery.com/database/{databaseId}/masterCredentials \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "login": "<string>",
  "password": "<string>"
}'
{
  "host": "<string>",
  "port": 123,
  "login": "<string>",
  "password": "<string>"
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

databaseId
string<uuid>
required

Database ID

Body

application/json
login
string
required
password
string
required

Response

Edit database credentials

host
string
required
port
integer
required
login
string
required
password
string
required