Create a DBaaS MySQL database
Path parameters
-
Service name
Minimum length is
0
, maximum length is63
.
Body Required
-
Service database name
Minimum length is
1
, maximum length is40
.
POST /dbaas-mysql/{service-name}/database
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-mysql/{service-name}/database \
-H "Content-Type: application/json" \
-d '{"database-name":"string"}'
Request examples
{
"database-name": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}