Skip to main content
GET
/
environment
/
{environmentId}
/
databaseConfiguration
List eligible database types, versions and modes for the environment
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/databaseConfiguration \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "database_type": "MONGODB",
      "version": [
        {
          "name": "10.1",
          "supported_mode": "CONTAINER"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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" '

Path Parameters

environmentId
string<uuid>
required

Environment ID

Response

List eligible database

results
object[]