cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/databases \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "database": "<string>", "remote": "<string>" }'
[ "<any>" ]
Create a new database for the given server and return it.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The response is of type any[].
any[]