Overview
The MariaDB API allows you to create, manage, deploy, and monitor MariaDB database instances. MariaDB databases run as Docker containers with support for automated backups, external port configuration, and resource management.Create MariaDB Database
Request Body
Display name for the MariaDB database (minimum 1 character)
Unique application name used for Docker container naming (minimum 1 character)
Name of the MariaDB database to create (minimum 1 character)
Username for database authentication (minimum 1 character)
Password for the database user. Must match pattern:
^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~]*$`Root password for MariaDB. Must match pattern:
^[a-zA-Z0-9@#%^&*()_+\-=[\]{}|;:,.<>?~]*$`ID of the environment where the database will be deployed
Docker image to use for MariaDB (e.g., mariadb:11, mariadb:10.11)
Optional description for the database instance
ID of the server where the database should be deployed (required in cloud environments)
Get MariaDB Database
Retrieve details about a specific MariaDB database instance.Query Parameters
Unique identifier of the MariaDB database
Deploy MariaDB Database
Deploy or redeploy a MariaDB database container.Request Body
ID of the MariaDB database to deploy
Start MariaDB Database
Start a stopped MariaDB database container.Stop MariaDB Database
Stop a running MariaDB database container.Reload MariaDB Database
Reload (restart) a MariaDB database container.Request Body
ID of the MariaDB database to reload
Application name of the MariaDB database (minimum 1 character)
Update MariaDB Database
Update MariaDB database configuration, including credentials, resources, and Docker image.Request Body
ID of the MariaDB database to update (minimum 1 character)
Updated display name (minimum 1 character)
Updated application name (minimum 1 character)
Updated database name (minimum 1 character)
Updated database username (minimum 1 character)
Updated database password
Updated root password
Updated Docker image version
Memory reservation (e.g., “512m”, “1g”)
Memory limit (e.g., “1g”, “2g”)
CPU reservation (e.g., “0.5”, “1.0”)
CPU limit (e.g., “1.0”, “2.0”)
Custom command to run in the container
Command line arguments for the MariaDB server
External port to expose MariaDB
Save Environment Variables
Update environment variables for the MariaDB database container.Request Body
ID of the MariaDB database
Environment variables in KEY=VALUE format, separated by newlines
Save External Port
Configure external port mapping for the MariaDB database.Request Body
ID of the MariaDB database
Port number to expose MariaDB externally. Set to null to remove external port mapping.
Change Status
Manually update the application status of a MariaDB database.Request Body
ID of the MariaDB database
New status. Options:
idle, running, done, errorMove MariaDB Database
Move a MariaDB database to a different environment.Request Body
ID of the MariaDB database to move
ID of the destination environment
Rebuild MariaDB Database
Rebuild the MariaDB database container from scratch.Request Body
ID of the MariaDB database to rebuild
Remove MariaDB Database
Delete a MariaDB database and all associated resources, including backups and scheduled jobs.Request Body
ID of the MariaDB database to remove
Backup Operations
For backup and restore operations, see the Backup API documentation.- Create automated backups:
backup.create - Manual backup:
backup.manualBackupMariadb - Restore from backup:
backup.restoreBackupWithLogs