Create a database
Changed onCreates a database in one of your networks. To start it from a backup of another of your databases of the same type, send backupSourceId and backupToRestoreName (only for mysql, mariadb, postgres and mongodb).
Your balance must be high enough to cover the database. Your account must be verified. With teamID, your role needs the database.create permission.
Request
- Base URLhttps://api.liara.ir
- URLhttps://api.liara.ir/v1/databases
- AuthHTTP bearer
Query parameters
24-character hexadecimal ID.
Run the request in the context of a team you belong to, instead of your personal account.
Request body
Response
The database is being created.
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
the request property
became required - breaking
the request property
became required - breaking
the
request property's minLength was increased from0to3 - breaking
added the pattern
^[a-z0-9][a-z0-9\-]+[a-z0-9]$to the request property - warning
the
request property's maxLength was set to50 - info
added the new optional
queryrequest parameterteamID - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
the
request property default valuetruewas added - info
added the new
clickhouseenum value to the request property - info
added the new
elasticsearchenum value to the request property - info
added the new
mariadbenum value to the request property - info
added the new
medium-g2enum value to the request property - info
added the new
mongodbenum value to the request property - info
added the new
mssqlenum value to the request property - info
added the new
mysqlenum value to the request property - info
added the new
postgresenum value to the request property - info
added the new
pro-g2enum value to the request property - info
added the new
pro-max-g2enum value to the request property - info
added the new
pro-plus-g2enum value to the request property - info
added the new
rabbitmqenum value to the request property - info
added the new
redisenum value to the request property - info
added the new
small-g2enum value to the request property - info
added the new
standard-base-g2enum value to the request property - info
added the new
standard-pro-g2enum value to the request property - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
removed the media type
Databaselication/jsonfrom the request body - info
added the media type
application/jsonto the request body - info
added the media type
application/jsonfor the response with the status
- breaking