English
Creates a Database instance hosted on Square Cloud.
cURL
curl --request POST \ --url https://api.squarecloud.app/v2/databases \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "memory": 123, "type": "<string>", "version": "<string>" } '
{ "status":"success", "response": { "id": "a14b8d5e1cb7405a851eb4c075506121", "name": "test", "memory": 1024, "cpu": 2, "type": "mongo", "password": "PASSWORD", "certificate": "CERTIFICATE_IN_BASE_64_FORMAT", "connection_url": "mongodb://default:[email protected]:PORT" } }
success
error
Show Toggle object
.pem
Was this page helpful?