v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-09181183330.0 KB
deploy

Create a Deployment Draft

Create a new application deployment draft, if none exists.

post/groups/{groupId}/apps/{appId}/drafts

Response

Successfully created draft.

_idstring

The unique ID of the draft.

user_idstring

The unique _id value of the MongoDB Cloud user that created the draft.

Example response

{
  "app": {
    "name": "MyApp",
    "environment": "production",
    "_id": "633209ffd3bd3478005d1bac",
    "client_app_id": "myapp-abcde",
    "domain_id": "63320a2b5f9de9a6e0a213e8",
    "group_id": "5b2ec991973129243223a114",
    "last_used": 1664224746,
    "last_modified": 1656440824
  }
}