Openminds Sock API
Create Database
Creates a new database on a target account. Please refer to the Account List API endpoint to see your available accounts.
URL
/databases
Method
POST
Data parameters
Required
user_token=[string]
client_token=[string]
account_id=[string]
name=[string]
login=[string]
password=[string]
Optional
access_level=[string]
: 'read-write' or 'read', default is 'read-write'engine=[string]
: 'mysql' or 'postgresql', default is the engine on the virtual server
Sample usage
$ curl -X POST https://sock.openminds.be/api/v1/databases -d user_token=1234 -d client_token=5678 \
-d name=example_database \
-d login=username \
-d password=v3ry$ecr3t