Skip to main content
POST
/
v3
/
db
/
create
Create a new database
curl --request POST \
  --url https://api.dscloud.pt/v3/db/create \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": {
      "id": "003dd41a",
      "name": "example_database",
      "ip": "eu-01.db.dscloud.pt",
      "user": "userdb",
      "password": "1OS]a+y2v9GK),hL",
      "type": "mysql",
      "created_at": "2025-01-28T12:00:00Z"
  }
}
Authorization
string
required
The API key for your account. You can find this in your account settings.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
object
The contents of the response.
{
  "status": "success",
  "response": {
      "id": "003dd41a",
      "name": "example_database",
      "ip": "eu-01.db.dscloud.pt",
      "user": "userdb",
      "password": "1OS]a+y2v9GK),hL",
      "type": "mysql",
      "created_at": "2025-01-28T12:00:00Z"
  }
}