post https://example.com/v1/databases
This operation is synchronous. It returns 201 Created
only if the
operation is immediate, eg. a Sandbox instance or small-sized DB. For the rest of the plans,
202 Accepted
is returned.
The allowable values for the params are:
name
: Database name must be lowercase and have fewer than 30 characters. It cannot have any spaces or special characters in it.Underscores are allowed. Database names cannot be duplicated.version
: It must be a valid version identifier from the/versions
endpoint.awsRegion
:[us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2]
. Important: Hobby databases are only available on[us-east-1]
or[eu-west-1]
plan
:[sandbox, developer, s1, s2, s3, p1, p2, p3, p4, p5, ha1, ha2, ha3]
.privateNetworkId
: It must be a valid identifier from the/networks
endpoint. Don't pass this parameter if Private Networks are not supported (Hobby & Standard tier)