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