curl --request PUT \
--url https://api.qovery.com/database/{databaseId}/masterCredentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"login": "<string>",
"password": "<string>"
}
'{
"host": "<string>",
"port": 123,
"login": "<string>",
"password": "<string>"
}curl --request PUT \
--url https://api.qovery.com/database/{databaseId}/masterCredentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"login": "<string>",
"password": "<string>"
}
'{
"host": "<string>",
"port": 123,
"login": "<string>",
"password": "<string>"
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Database ID
Was this page helpful?