API referenceSections

Database

Database object
  • id string required
  • tenant_id string required
  • server_id string required
  • name string required
  • engine string required
    Allowed values: "mariadb" "mysql" "mssql" "postgres" "mongodb"
  • job_id string required
  • error_code string required
  • created_at string (date-time) required
  • status string required
    Allowed values: "provisioning" "active" "failed" "deleting" "delete_failed"
  • host string required
  • port integer required
  • managed_by string required

Used by

POST/api/v1/tenants/{tid}/databases/{id}/pitr/restore 202Restore the database as it was just before a moment: into a new database (201, its password shown once) or in place after a safety backup (202) (ADR 0183)
GET/api/v1/tenants/{tid}/databases
POST/api/v1/tenants/{tid}/databasesCreate a database and its account; the password is shown once
POST/api/v1/tenants/{tid}/databases/{id}/copyCopy the database to a new one on the same server and engine, with its own account; the password is shown once