Databases
Create database
Create a new database with the specified configuration.
POST
Create database
Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Body
application/json
Cluster location identifier
Example:
"europe-west1"
Resource type name
Example:
"db-standard-1"
Display name for the database
Required string length:
2 - 64Example:
"My Database"
Database name
Required string length:
2 - 100Example:
"mydb"
Database password
Required string length:
4 - 100Example:
"securepassword123"
Database engine type
Available options:
postgresql, mariadb, mysql, mongodb, redis, valkey Example:
"postgresql"
Database engine version
Example:
"16"
Database user (required for non-Redis/Valkey)
Required string length:
2 - 32Pattern:
^[a-zA-Z0-9_\-+]+$Example:
"dbuser"
Response
Default Response
Create database