Create 8

Create 8

Endpoint to create database
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
POST
https://{api_host}/provider/databases
COPY
Request Body
CreateDbDTO of type(s) application/json
Required
{
    "templateId": "string",
    "instanceName": "string",
    "dbConfig": {
        "dbName": "string",
        "port": 0,
        "adminUser": "string",
        "adminPassword": "string",
        "replicationUser": "string",
        "replicationPassword": "string",
        "rootPassword": "string",
        "monitoringType": "string",
        "edition": "string",
        "dbVersion": "string"
    },
    "dbBackupConfig": {
        "numLocalBackupDays": 0,
        "numRemoteBackupDays": 0,
        "automatedBackupStartTime": "string",
        "enableAutoBackups": false
    },
    "dbMaintenanceConfig": {
        "maintenanceWindowStartDay": "string",
        "maintenanceWindowStartTime": "string",
        "maintenanceWindowDuration": "string",
        "minorVersionUpgradeEnabled": false,
        "maintenanceWindowSelected": false
    },
    "requireClientSsl": false,
    "dbOptions": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "tags": [
        "string"
    ],
    "notifications": [
        {
            "alertDefinitionType": "string",
            "status": "string"
        }
    ]
}
string As uuid As uuid
templateId
Required

templateId

string
instanceName
Required

instanceName

dbConfig
Required

dbConfig

dbBackupConfig
Required

dbBackupConfig

dbMaintenanceConfig
Required

dbMaintenanceConfig

boolean
requireClientSsl
Optional

requireClientSsl

dbOptions
Optional

dbOptions

array of string
tags
Optional

tags

notifications
Optional

notifications

provisioningConfig
Required

provisioningConfig

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure