Resource Version 2025-03-12
Download OpenAPI specification:Download
The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.
The Atlas Administration API uses HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to return database access history with cURL, run the following command in the terminal:
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \
--digest \
--header "Accept: application/vnd.atlas.2025-03-12+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true"
To learn more, see Get Started with the Atlas Administration API. For support, see MongoDB Support.
You can also explore the various endpoints available through the Atlas Administration API in MongoDB's Postman workspace.
Returns access logs for authentication attempts made to Atlas database deployments. To view database access history, you must have either the Project Owner or Organization Owner role.
Returns the access logs of one cluster identified by the cluster's name. Access logs contain a list of authentication requests made against your cluster. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
authResult | boolean Flag that indicates whether the response returns the successful authentication attempts only. |
end | integer <int64> Date and time when to stop retrieving database history. If you specify end, you must also specify start. This parameter uses UNIX epoch time in milliseconds. |
ipAddress | string^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$))... One Internet Protocol address that attempted to authenticate with the database. |
nLogs | integer <int32> [ 0 .. 20000 ] Default: 20000 Maximum number of lines from the log to return. |
start | integer <int64> Date and time when MongoDB Cloud begins retrieving database history. If you specify start, you must also specify end. This parameter uses UNIX epoch time in milliseconds. |
{- "accessLogs": [
- {
- "authResult": true,
- "authSource": "string",
- "failureReason": "string",
- "groupId": "string",
- "hostname": "string",
- "ipAddress": "string",
- "logLine": "string",
- "timestamp": "string",
- "username": "string"
}
]
}
Returns the access logs of one cluster identified by the cluster's hostname. Access logs contain a list of authentication requests made against your clusters. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
hostname required | string Fully qualified domain name or IP address of the MongoDB host that stores the log files that you want to download. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
authResult | boolean Flag that indicates whether the response returns the successful authentication attempts only. |
end | integer <int64> Date and time when to stop retrieving database history. If you specify end, you must also specify start. This parameter uses UNIX epoch time in milliseconds. |
ipAddress | string^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$))... One Internet Protocol address that attempted to authenticate with the database. |
nLogs | integer <int32> [ 0 .. 20000 ] Default: 20000 Maximum number of lines from the log to return. |
start | integer <int64> Date and time when MongoDB Cloud begins retrieving database history. If you specify start, you must also specify end. This parameter uses UNIX epoch time in milliseconds. |
{- "accessLogs": [
- {
- "authResult": true,
- "authSource": "string",
- "failureReason": "string",
- "groupId": "string",
- "hostname": "string",
- "ipAddress": "string",
- "logLine": "string",
- "timestamp": "string",
- "username": "string"
}
]
}
Returns and edits the conditions that trigger alerts and how MongoDB Cloud notifies users. This collection remains under revision and may change.
Get all field names that the matchers.fieldName
parameter accepts when you create or update an Alert Configuration. You can successfully call this endpoint with any assigned role.
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- "APPLICATION_ID"
]
Returns all alert configurations for one project. These alert configurations apply to any component in the project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Creates one alert configuration for the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one alert configuration for the specified project.
enabled | boolean Default: false Flag that indicates whether someone enabled this alert configuration for the specified project. |
required | Billing Event Types (object) or Cps Backup Event Types (object) or Data Protection Event Types (object) or FTS Index Audit Types (object) or Group Event Types (object) or NDS Audit Types (object) or NDS Maintenance Window Audit Types (object) or Online Archive Event Types (object) or User Event Types (object) or Resource Event Types (object) or Stream Processor Event Types (object) or NDS Auto Scaling Audit Types (object) Incident that triggered this alert. |
Array of objects (Matchers) Matching conditions for target resources. | |
required | Array of Datadog Notification (object) or Email Notification (object) or Group Notification (object) or HipChat Notification (object) or Microsoft Teams Notification (object) or OpsGenie Notification (object) or Org Notification (object) or PagerDuty Notification (object) or Slack Notification (object) or SMS Notification (object) or Team Notification (object) or User Notification (object) or VictorOps Notification (object) or Webhook Notification (object) (AlertsNotificationRootForGroup) List that contains the targets that MongoDB Cloud sends notifications. |
{- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
]
}
{- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
Removes one alert configuration from the specified project. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertConfigId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the alert configuration. Use the /alertConfigs endpoint to retrieve all alert configurations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint)",
- "error": 401,
- "errorCode": "NOT_ORG_GROUP_CREATOR",
- "reason": "Unauthorized"
}
Returns the specified alert configuration from the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertConfigId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the alert configuration. Use the /alertConfigs endpoint to retrieve all alert configurations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
Enables or disables the specified alert configuration in the specified project. The resource enables the specified alert configuration if currently enabled. The resource disables the specified alert configuration if currently disabled. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
NOTE: This endpoint updates only the enabled/disabled state for the alert configuration. To update more than just this configuration, see Update One Alert Configuration.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertConfigId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the alert configuration that triggered this alert. Use the /alertConfigs endpoint to retrieve all alert configurations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Enables or disables the specified alert configuration in the specified project.
enabled | boolean Flag that indicates whether to enable or disable the specified alert configuration in the specified project. |
{- "enabled": true
}
{- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
Updates one alert configuration in the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
NOTE: To enable or disable the alert configuration, see Toggle One State of One Alert Configuration in One Project.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertConfigId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the alert configuration. Use the /alertConfigs endpoint to retrieve all alert configurations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Updates one alert configuration in the specified project.
enabled | boolean Default: false Flag that indicates whether someone enabled this alert configuration for the specified project. |
required | Billing Event Types (object) or Cps Backup Event Types (object) or Data Protection Event Types (object) or FTS Index Audit Types (object) or Group Event Types (object) or NDS Audit Types (object) or NDS Maintenance Window Audit Types (object) or Online Archive Event Types (object) or User Event Types (object) or Resource Event Types (object) or Stream Processor Event Types (object) or NDS Auto Scaling Audit Types (object) Incident that triggered this alert. |
Array of objects (Matchers) Matching conditions for target resources. | |
required | Array of Datadog Notification (object) or Email Notification (object) or Group Notification (object) or HipChat Notification (object) or Microsoft Teams Notification (object) or OpsGenie Notification (object) or Org Notification (object) or PagerDuty Notification (object) or Slack Notification (object) or SMS Notification (object) or Team Notification (object) or User Notification (object) or VictorOps Notification (object) or Webhook Notification (object) (AlertsNotificationRootForGroup) List that contains the targets that MongoDB Cloud sends notifications. |
{- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
]
}
{- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
Returns all alert configurations set for the specified alert. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the alert. Use the /alerts endpoint to retrieve all alerts to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
{- "results": [
- {
- "created": "2019-08-24T14:15:22Z",
- "enabled": false,
- "eventTypeName": "CREDIT_CARD_ABOUT_TO_EXPIRE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "matchers": [
- {
- "fieldName": "string",
- "operator": "EQUALS",
- "value": "event-replica-set"
}
], - "notifications": [
- {
- "datadogApiKey": "****************************a23c",
- "datadogRegion": "US",
- "delayMin": 0,
- "integrationId": "32b6e34b3d91647abb20e7b8",
- "intervalMin": 5,
- "notifierId": "32b6e34b3d91647abb20e7b8",
- "typeName": "DATADOG"
}
], - "updated": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Returns and acknowledges alerts that MongoDB Cloud triggers based on the alert conditions that you define. This collection remains under revision and may change.
Returns all open alerts that the specified alert configuration triggers. These alert configurations apply to the specified project only. Alert configurations define the triggers and notification methods for alerts. Open alerts have been triggered but remain unacknowledged. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertConfigId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the alert configuration. Use the /alertConfigs endpoint to retrieve all alert configurations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "acknowledgedUntil": "2019-08-24T14:15:22Z",
- "acknowledgementComment": "Expiration on 3/19. Silencing for 7days.",
- "acknowledgingUsername": "user@example.com",
- "alertConfigId": "32b6e34b3d91647abb20e7b8",
- "created": "2019-08-24T14:15:22Z",
- "eventTypeName": "DEPLOYMENT_FAILURE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "lastNotified": "2019-08-24T14:15:22Z",
- "orgId": "32b6e34b3d91647abb20e7b8",
- "resolved": "2019-08-24T14:15:22Z",
- "status": "OPEN",
- "updated": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Returns all alerts. These alerts apply to all components in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
status | string Enum: "OPEN" "TRACKING" "CLOSED" Status of the alerts to return. Omit to return all alerts in all statuses. |
{- "results": [
- {
- "acknowledgedUntil": "2019-08-24T14:15:22Z",
- "acknowledgementComment": "Expiration on 3/19. Silencing for 7days.",
- "acknowledgingUsername": "user@example.com",
- "alertConfigId": "32b6e34b3d91647abb20e7b8",
- "created": "2019-08-24T14:15:22Z",
- "eventTypeName": "DEPLOYMENT_FAILURE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "lastNotified": "2019-08-24T14:15:22Z",
- "orgId": "32b6e34b3d91647abb20e7b8",
- "resolved": "2019-08-24T14:15:22Z",
- "status": "OPEN",
- "updated": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Returns one alert. This alert applies to any component in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting API Key must have the Project Read Only role.
This resource remains under revision and may change.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the alert. Use the /alerts endpoint to retrieve all alerts to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "acknowledgedUntil": "2019-08-24T14:15:22Z",
- "acknowledgementComment": "Expiration on 3/19. Silencing for 7days.",
- "acknowledgingUsername": "user@example.com",
- "alertConfigId": "32b6e34b3d91647abb20e7b8",
- "created": "2019-08-24T14:15:22Z",
- "eventTypeName": "DEPLOYMENT_FAILURE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "lastNotified": "2019-08-24T14:15:22Z",
- "orgId": "32b6e34b3d91647abb20e7b8",
- "resolved": "2019-08-24T14:15:22Z",
- "status": "OPEN",
- "updated": "2019-08-24T14:15:22Z"
}
Confirms receipt of one existing alert. This alert applies to any component in one project. Acknowledging an alert prevents successive notifications. You receive an alert when a monitored component meets or exceeds a value you set until you acknowledge the alert. To use this resource, the requesting API Key must have the Organization Owner or Project Owner role.
This resource remains under revision and may change. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
alertId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the alert. Use the /alerts endpoint to retrieve all alerts to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Acknowledges or unacknowledges one alert.
acknowledgedUntil | string <date-time> Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert. |
acknowledgementComment | string <= 200 characters Comment that a MongoDB Cloud user submitted when acknowledging the alert. |
unacknowledgeAlert | boolean Flag that indicates to unacknowledge a previously acknowledged alert. By default this value is set to false. If set to true, it will override the acknowledgedUntil parameter. |
{- "acknowledgedUntil": "2019-08-24T14:15:22Z",
- "acknowledgementComment": "Expiration on 3/19. Silencing for 7days.",
- "unacknowledgeAlert": true
}
{- "acknowledgedUntil": "2019-08-24T14:15:22Z",
- "acknowledgementComment": "Expiration on 3/19. Silencing for 7days.",
- "acknowledgingUsername": "user@example.com",
- "alertConfigId": "32b6e34b3d91647abb20e7b8",
- "created": "2019-08-24T14:15:22Z",
- "eventTypeName": "DEPLOYMENT_FAILURE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "lastNotified": "2019-08-24T14:15:22Z",
- "orgId": "32b6e34b3d91647abb20e7b8",
- "resolved": "2019-08-24T14:15:22Z",
- "status": "OPEN",
- "updated": "2019-08-24T14:15:22Z"
}
Returns, adds, edits, and removes Atlas Search indexes for the specified cluster. Also returns and updates user-defined analyzers for the specified cluster.
Creates one Atlas Search index on the specified collection. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. Only clusters running MongoDB v4.2 or later can use Atlas Search. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection on which to create an Atlas Search index. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one Atlas Search index on the specified collection.
collectionName required | string Human-readable label that identifies the collection that contains one or more Atlas Search indexes. |
database required | string Human-readable label that identifies the database that contains the collection with one or more Atlas Search indexes. |
name required | string Human-readable label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. |
numPartitions | integer <int32> Default: 1 Number of index partitions. Note: This feature is currently in preview. |
type | string Type of the index. Default type is search. |
analyzer | string Default: "lucene.standard" Enum: "lucene.standard" "lucene.simple" "lucene.whitespace" "lucene.keyword" "lucene.arabic" "lucene.armenian" "lucene.basque" "lucene.bengali" "lucene.brazilian" "lucene.bulgarian" "lucene.catalan" "lucene.chinese" "lucene.cjk" "lucene.czech" "lucene.danish" "lucene.dutch" "lucene.english" "lucene.finnish" "lucene.french" "lucene.galician" "lucene.german" "lucene.greek" "lucene.hindi" "lucene.hungarian" "lucene.indonesian" "lucene.irish" "lucene.italian" "lucene.japanese" "lucene.korean" "lucene.kuromoji" "lucene.latvian" "lucene.lithuanian" "lucene.morfologik" "lucene.nori" "lucene.norwegian" "lucene.persian" "lucene.portuguese" "lucene.romanian" "lucene.russian" "lucene.smartcn" "lucene.sorani" "lucene.spanish" "lucene.swedish" "lucene.thai" "lucene.turkish" "lucene.ukrainian" Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a term or token. This process, known as tokenization, involves a variety of changes made to the text in fields:
|
Array of objects (analyzers) List of user-defined methods to convert database field text into searchable words. | |
object (mappings) Index specifications for the collection's fields. | |
searchAnalyzer | string Default: "lucene.standard" Enum: "lucene.standard" "lucene.simple" "lucene.whitespace" "lucene.keyword" "lucene.arabic" "lucene.armenian" "lucene.basque" "lucene.bengali" "lucene.brazilian" "lucene.bulgarian" "lucene.catalan" "lucene.chinese" "lucene.cjk" "lucene.czech" "lucene.danish" "lucene.dutch" "lucene.english" "lucene.finnish" "lucene.french" "lucene.galician" "lucene.german" "lucene.greek" "lucene.hindi" "lucene.hungarian" "lucene.indonesian" "lucene.irish" "lucene.italian" "lucene.japanese" "lucene.korean" "lucene.kuromoji" "lucene.latvian" "lucene.lithuanian" "lucene.morfologik" "lucene.nori" "lucene.norwegian" "lucene.persian" "lucene.portuguese" "lucene.romanian" "lucene.russian" "lucene.smartcn" "lucene.sorani" "lucene.spanish" "lucene.swedish" "lucene.thai" "lucene.turkish" "lucene.ukrainian" Method applied to identify words when searching this index. |
storedSource | object Flag that indicates whether to store all fields (true) on Atlas Search. By default, Atlas doesn't store (false) the fields on Atlas Search. Alternatively, you can specify an object that only contains the list of fields to store (include) or not store (exclude) on Atlas Search. To learn more, see documentation. |
Array of objects (Synonym Mapping Definition) Rule sets that map words to their synonyms in this index. |
{- "collectionName": "string",
- "database": "string",
- "name": "string",
- "numPartitions": 1,
- "type": "search",
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "ignoredTags": [
- "string"
], - "type": "htmlStrip"
}
], - "name": "string",
- "tokenFilters": [
- {
- "originalTokens": "omit",
- "type": "asciiFolding"
}
], - "tokenizer": {
- "maxGram": 0,
- "minGram": 0,
- "type": "edgeGram"
}
}
], - "mappings": {
- "dynamic": false,
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "name": "string",
- "numPartitions": 1,
- "status": "IN_PROGRESS",
- "type": "search",
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "ignoredTags": [
- "string"
], - "type": "htmlStrip"
}
], - "name": "string",
- "tokenFilters": [
- {
- "originalTokens": "omit",
- "type": "asciiFolding"
}
], - "tokenizer": {
- "maxGram": 0,
- "minGram": 0,
- "type": "edgeGram"
}
}
], - "mappings": {
- "dynamic": false,
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
Returns all Atlas Search indexes on the specified collection. Atlas Search indexes contain the indexed fields and the analyzers used to create the indexes. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
collectionName required | string Name of the collection that contains one or more Atlas Search indexes. |
databaseName required | string Human-readable label that identifies the database that contains the collection with one or more Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "name": "string",
- "numPartitions": 1,
- "status": "IN_PROGRESS",
- "type": "search"
}
]
Removes one Atlas Search index that you identified with its unique ID. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the database and collection with one or more Application Search indexes. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Atlas Search index. Use the Get All Atlas Search Indexes for a Collection API endpoint to find the IDs of all Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one Atlas Search index in the specified project. You identify this index using its unique ID. Atlas Search index contains the indexed fields and the analyzers used to create the index. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Application Search index. Use the Get All Application Search Indexes for a Collection API endpoint to find the IDs of all Application Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "name": "string",
- "numPartitions": 1,
- "status": "IN_PROGRESS",
- "type": "search",
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "ignoredTags": [
- "string"
], - "type": "htmlStrip"
}
], - "name": "string",
- "tokenFilters": [
- {
- "originalTokens": "omit",
- "type": "asciiFolding"
}
], - "tokenizer": {
- "maxGram": 0,
- "minGram": 0,
- "type": "edgeGram"
}
}
], - "mappings": {
- "dynamic": false,
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
Updates one Atlas Search index that you identified with its unique ID. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection whose Atlas Search index to update. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Atlas Search index. Use the Get All Atlas Search Indexes for a Collection API endpoint to find the IDs of all Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Details to update on the Atlas Search index.
collectionName required | string Human-readable label that identifies the collection that contains one or more Atlas Search indexes. |
database required | string Human-readable label that identifies the database that contains the collection with one or more Atlas Search indexes. |
name required | string Human-readable label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. |
numPartitions | integer <int32> Default: 1 Number of index partitions. Note: This feature is currently in preview. |
type | string Type of the index. Default type is search. |
analyzer | string Default: "lucene.standard" Enum: "lucene.standard" "lucene.simple" "lucene.whitespace" "lucene.keyword" "lucene.arabic" "lucene.armenian" "lucene.basque" "lucene.bengali" "lucene.brazilian" "lucene.bulgarian" "lucene.catalan" "lucene.chinese" "lucene.cjk" "lucene.czech" "lucene.danish" "lucene.dutch" "lucene.english" "lucene.finnish" "lucene.french" "lucene.galician" "lucene.german" "lucene.greek" "lucene.hindi" "lucene.hungarian" "lucene.indonesian" "lucene.irish" "lucene.italian" "lucene.japanese" "lucene.korean" "lucene.kuromoji" "lucene.latvian" "lucene.lithuanian" "lucene.morfologik" "lucene.nori" "lucene.norwegian" "lucene.persian" "lucene.portuguese" "lucene.romanian" "lucene.russian" "lucene.smartcn" "lucene.sorani" "lucene.spanish" "lucene.swedish" "lucene.thai" "lucene.turkish" "lucene.ukrainian" Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a term or token. This process, known as tokenization, involves a variety of changes made to the text in fields:
|
Array of objects (analyzers) List of user-defined methods to convert database field text into searchable words. | |
object (mappings) Index specifications for the collection's fields. | |
searchAnalyzer | string Default: "lucene.standard" Enum: "lucene.standard" "lucene.simple" "lucene.whitespace" "lucene.keyword" "lucene.arabic" "lucene.armenian" "lucene.basque" "lucene.bengali" "lucene.brazilian" "lucene.bulgarian" "lucene.catalan" "lucene.chinese" "lucene.cjk" "lucene.czech" "lucene.danish" "lucene.dutch" "lucene.english" "lucene.finnish" "lucene.french" "lucene.galician" "lucene.german" "lucene.greek" "lucene.hindi" "lucene.hungarian" "lucene.indonesian" "lucene.irish" "lucene.italian" "lucene.japanese" "lucene.korean" "lucene.kuromoji" "lucene.latvian" "lucene.lithuanian" "lucene.morfologik" "lucene.nori" "lucene.norwegian" "lucene.persian" "lucene.portuguese" "lucene.romanian" "lucene.russian" "lucene.smartcn" "lucene.sorani" "lucene.spanish" "lucene.swedish" "lucene.thai" "lucene.turkish" "lucene.ukrainian" Method applied to identify words when searching this index. |
storedSource | object Flag that indicates whether to store all fields (true) on Atlas Search. By default, Atlas doesn't store (false) the fields on Atlas Search. Alternatively, you can specify an object that only contains the list of fields to store (include) or not store (exclude) on Atlas Search. To learn more, see documentation. |
Array of objects (Synonym Mapping Definition) Rule sets that map words to their synonyms in this index. |
{- "collectionName": "string",
- "database": "string",
- "name": "string",
- "numPartitions": 1,
- "type": "search",
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "ignoredTags": [
- "string"
], - "type": "htmlStrip"
}
], - "name": "string",
- "tokenFilters": [
- {
- "originalTokens": "omit",
- "type": "asciiFolding"
}
], - "tokenizer": {
- "maxGram": 0,
- "minGram": 0,
- "type": "edgeGram"
}
}
], - "mappings": {
- "dynamic": false,
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "name": "string",
- "numPartitions": 1,
- "status": "IN_PROGRESS",
- "type": "search",
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "ignoredTags": [
- "string"
], - "type": "htmlStrip"
}
], - "name": "string",
- "tokenFilters": [
- {
- "originalTokens": "omit",
- "type": "asciiFolding"
}
], - "tokenizer": {
- "maxGram": 0,
- "minGram": 0,
- "type": "edgeGram"
}
}
], - "mappings": {
- "dynamic": false,
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
Deletes the Search Nodes for the specified cluster.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Label that identifies the cluster to delete. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns the Search Nodes for the specified cluster. Deprecated versions: v2-{2024-05-30}, v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Label that identifies the cluster to return the Search Nodes for. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "encryptionAtRestProvider": "NONE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "specs": [
- {
- "instanceSize": "S20_HIGHCPU_NVME",
- "nodeCount": 2
}
], - "stateName": "IDLE"
}
Updates the Search Nodes for the specified cluster. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Label that identifies the cluster to update the Search Nodes for. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Updates the Search Nodes for the specified cluster.
required | Array of objects (ApiSearchDeploymentSpecView) = 1 items List of settings that configure the Search Nodes for your cluster. NOTE: We accept a single configuration for all nodes currently. |
{- "specs": [
- {
- "instanceSize": "S20_HIGHCPU_NVME",
- "nodeCount": 2
}
]
}
{- "encryptionAtRestProvider": "NONE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "specs": [
- {
- "instanceSize": "S20_HIGHCPU_NVME",
- "nodeCount": 2
}
], - "stateName": "IDLE"
}
Creates Search Nodes for the specified cluster.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Label that identifies the cluster to create Search Nodes for. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates Search Nodes for the specified cluster.
required | Array of objects (ApiSearchDeploymentSpecView) = 1 items List of settings that configure the Search Nodes for your cluster. NOTE: We accept a single configuration for all nodes currently. |
{- "specs": [
- {
- "instanceSize": "S20_HIGHCPU_NVME",
- "nodeCount": 2
}
]
}
{- "encryptionAtRestProvider": "NONE",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "specs": [
- {
- "instanceSize": "S20_HIGHCPU_NVME",
- "nodeCount": 2
}
], - "stateName": "IDLE"
}
Returns all Atlas Search indexes on the specified cluster. Atlas Search indexes contain the indexed fields and the analyzers used to create the indexes. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING"
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING"
}, - "status": "DELETING"
}
], - "type": "search"
}
]
Creates one Atlas Search index on the specified collection. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. Only clusters running MongoDB v4.2 or later can use Atlas Search. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection on which to create an Atlas Search index. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one Atlas Search index on the specified collection.
collectionName required | string Label that identifies the collection to create an Atlas Search index in. |
database required | string Label that identifies the database that contains the collection to create an Atlas Search index in. |
name required | string Label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. |
type | string Type of the index. The default type is search. |
required | object (Text Search Index Definition) The text search index definition set by the user. |
{- "collectionName": "string",
- "database": "string",
- "name": "string",
- "type": "search",
- "definition": {
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "numPartitions": 1,
- "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
}
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "status": "DELETING"
}
], - "type": "search",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}
Returns all Atlas Search indexes on the specified collection. Atlas Search indexes contain the indexed fields and the analyzers used to create the indexes. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
collectionName required | string Name of the collection that contains one or more Atlas Search indexes. |
databaseName required | string Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING"
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING"
}, - "status": "DELETING"
}
], - "type": "search"
}
]
Removes one Atlas Search index that you identified with its database, collection, and name. To use this resource, the requesting API key must have the Project Data Access Admin role. This deletion is eventually consistent.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the database and collection with one or more Application Search indexes. |
collectionName required | string Name of the collection that contains one or more Atlas Search indexes. |
databaseName required | string Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
indexName required | string Name of the Atlas Search index to delete. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one Atlas Search index in the specified project. You identify this index using its database, collection and name. Atlas Search index contains the indexed fields and the analyzers used to create the index. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
collectionName required | string Name of the collection that contains one or more Atlas Search indexes. |
databaseName required | string Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
indexName required | string Name of the Atlas Search index to return. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "status": "DELETING"
}
], - "type": "search",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}
Updates one Atlas Search index that you identified with its database, collection name, and index name. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection whose Atlas Search index you want to update. |
collectionName required | string Name of the collection that contains one or more Atlas Search indexes. |
databaseName required | string Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
indexName required | string Name of the Atlas Search index to update. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Details to update the Atlas Search index with.
required | Text Search Index Definition (object) or Vector Search Index Definition (object) The index definition to update the search index to. |
{- "definition": {
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "numPartitions": 1,
- "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
}
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "status": "DELETING"
}
], - "type": "search",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}
Removes one Atlas Search index that you identified with its unique ID. To use this resource, the requesting API key must have the Project Data Access Admin role. This deletion is eventually consistent.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the database and collection with one or more Application Search indexes. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Atlas Search index. Use the Get All Atlas Search Indexes for a Collection API endpoint to find the IDs of all Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one Atlas Search index in the specified project. You identify this index using its unique ID. Atlas Search index contains the indexed fields and the analyzers used to create the index. To use this resource, the requesting API Key must have the Project Data Access Read Write role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection with one or more Atlas Search indexes. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Application Search index. Use the Get All Application Search Indexes for a Collection API endpoint to find the IDs of all Application Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "status": "DELETING"
}
], - "type": "search",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}
Updates one Atlas Search index that you identified with its unique ID. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting API Key must have the Project Data Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Name of the cluster that contains the collection whose Atlas Search index you want to update. |
indexId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the Atlas Search index. Use the Get All Atlas Search Indexes for a Collection API endpoint to find the IDs of all Atlas Search indexes. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Details to update on the Atlas Search index.
required | Text Search Index Definition (object) or Vector Search Index Definition (object) The index definition to update the search index to. |
{- "definition": {
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "numPartitions": 1,
- "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}
}
{- "collectionName": "string",
- "database": "string",
- "indexID": "32b6e34b3d91647abb20e7b8",
- "latestDefinition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "latestDefinitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "name": "string",
- "queryable": true,
- "status": "DELETING",
- "statusDetail": [
- {
- "hostname": "string",
- "mainIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "queryable": true,
- "stagedIndex": {
- "definition": {
- "numPartitions": 1,
- "analyzer": "lucene.standard",
- "analyzers": [
- {
- "charFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "name": "string",
- "tokenFilters": [
- {
- "property1": { },
- "property2": { }
}
], - "tokenizer": {
- "property1": { },
- "property2": { }
}
}
], - "mappings": {
- "dynamic": true,
- "fields": {
- "Field Name1": { },
- "Field Name2": { }
}
}, - "searchAnalyzer": "lucene.standard",
- "storedSource": {
- "include | exclude": [
- "field1",
- "field2"
]
}, - "synonyms": [
- {
- "analyzer": "lucene.standard",
- "name": "string",
- "source": {
- "collection": "string"
}
}
]
}, - "definitionVersion": {
- "createdAt": "2019-08-24T14:15:22Z",
- "version": 0
}, - "message": "string",
- "queryable": true,
- "status": "DELETING",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}, - "status": "DELETING"
}
], - "type": "search",
- "synonymMappingStatus": "FAILED",
- "synonymMappingStatusDetail": [
- {
- "property1": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}, - "property2": {
- "message": "string",
- "queryable": true,
- "status": "FAILED"
}
}
]
}
Returns the auditing configuration for the specified project. The auditing configuration defines the events that MongoDB Cloud records in the audit log. To use this resource, the requesting API Key must have the Project Owner role. This feature isn't available for M0
, M2
, M5
, or serverless clusters.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "auditAuthorizationSuccess": false,
- "auditFilter": "string",
- "configurationType": "NONE",
- "enabled": false
}
Updates the auditing configuration for the specified project. The auditing configuration defines the events that MongoDB Cloud records in the audit log. To use this resource, the requesting API Key must have the Project Owner role. This feature isn't available for M0
, M2
, M5
, or serverless clusters.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Updated auditing configuration for the specified project.
auditAuthorizationSuccess | boolean Default: false Flag that indicates whether someone set auditing to track successful authentications. This only applies to the |
auditFilter | string JSON document that specifies which events to record. Escape any characters that may prevent parsing, such as single or double quotes, using a backslash ( |
enabled | boolean Default: false Flag that indicates whether someone enabled database auditing for the specified project. |
{- "auditAuthorizationSuccess": false,
- "auditFilter": "string",
- "enabled": false
}
{- "auditAuthorizationSuccess": false,
- "auditFilter": "string",
- "configurationType": "NONE",
- "enabled": false
}
Returns and edits custom DNS configurations for MongoDB Cloud database deployments on AWS. The resource requires your Project ID. If you use the VPC peering on AWS and you use your own DNS servers instead of Amazon Route 53, enable custom DNS. Before 31 March 2020, applications deployed within AWS using custom DNS services and VPC-peered with MongoDB Cloud couldn't connect over private IP addresses. Custom DNS resolved to public IP addresses. AWS internal DNS resolved to private IP addresses. Applications deployed with custom DNS services in AWS should use Private IP for Peering connection strings.
Returns the custom DNS configuration for AWS clusters in the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "enabled": true
}
Enables or disables the custom DNS configuration for AWS clusters in the specified project. Enable custom DNS if you use AWS VPC peering and use your own DNS servers. To use this resource, the requesting API Key must have the Project Atlas Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Enables or disables the custom DNS configuration for AWS clusters in the specified project.
enabled required | boolean Flag that indicates whether the project's clusters deployed to Amazon Web Services (AWS) use a custom Domain Name System (DNS).
When |
{- "enabled": true
}
{- "enabled": true
}
Manages Cloud Backup snapshots, snapshot export buckets, restore jobs, and schedules. This resource applies only to clusters that use Cloud Backups.
Returns all Export Buckets associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "_id": "32b6e34b3d91647abb20e7b8",
- "bucketName": "export-bucket",
- "cloudProvider": "AWS",
- "iamRoleId": "32b6e34b3d91647abb20e7b8"
}
], - "totalCount": 0
}
Creates a Snapshot Export Bucket for an AWS S3 Bucket or Azure Blob Storage Container. Once created, an snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket or Azure Blob Storage Container. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Specifies the role and AWS S3 Bucket or Azure Blob Storage Container that the Export Bucket should reference.
bucketName required | string [ 3 .. 63 ] characters Human-readable label that identifies the AWS S3 Bucket or Azure Storage Container that the role is authorized to export to. |
cloudProvider required | string Human-readable label that identifies the cloud provider that Snapshots are exported to. |
iamRoleId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3 bucket. |
AWS
{- "bucketName": "export-bucket",
- "cloudProvider": "AWS",
- "iamRoleId": "668c5f0ed436263134491592"
}
AWS
{- "_id": "32b6e34b3d91647abb20e7b8",
- "bucketName": "export-bucket",
- "cloudProvider": "AWS",
- "iamRoleId": "668c5f0ed436263134491592",
}
Deletes an Export Bucket. Auto export must be disabled on all clusters in this Project exporting to this Export Bucket before revoking access. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
exportBucketId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal character string that identifies the Export Bucket. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{ }
Returns one Export Bucket associated with the specified Project. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
exportBucketId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal character string that identifies the Export Bucket. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
AWS
{- "_id": "32b6e34b3d91647abb20e7b8",
- "bucketName": "export-bucket",
- "cloudProvider": "AWS",
- "iamRoleId": "668c5f0ed436263134491592",
}
Disables the Backup Compliance Policy settings with the specified project. As a prerequisite, a support ticket needs to be file first, instructions in https://www.mongodb.com/docs/atlas/backup/cloud-backup/backup-compliance-policy/. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns the Backup Compliance Policy settings with the specified project. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "authorizedEmail": "user@example.com",
- "authorizedUserFirstName": "string",
- "authorizedUserLastName": "string",
- "copyProtectionEnabled": false,
- "deletable": false,
- "encryptionAtRestEnabled": false,
- "onDemandPolicyItem": {
- "frequencyInterval": 0,
- "frequencyType": "ondemand",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}, - "pitEnabled": false,
- "projectId": "32b6e34b3d91647abb20e7b8",
- "restoreWindowDays": 0,
- "scheduledPolicyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
], - "state": "ACTIVE",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedUser": "user@example.com"
}
Updates the Backup Compliance Policy settings for the specified project. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
overwriteBackupPolicies | boolean Default: true Flag that indicates whether to overwrite non complying backup policies with the new data protection settings or not. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
The new Backup Compliance Policy settings.
authorizedEmail required | string <email> Email address of the user who authorized to update the Backup Compliance Policy settings. |
authorizedUserFirstName required | string First name of the user who authorized to updated the Backup Compliance Policy settings. |
authorizedUserLastName required | string Last name of the user who authorized to updated the Backup Compliance Policy settings. |
copyProtectionEnabled | boolean Default: false Flag that indicates whether to prevent cluster users from deleting backups copied to other regions, even if those additional snapshot regions are removed. If unspecified, this value defaults to false. |
encryptionAtRestEnabled | boolean Default: false Flag that indicates whether Encryption at Rest using Customer Key Management is required for all clusters with a Backup Compliance Policy. If unspecified, this value defaults to false. |
object (BackupComplianceOnDemandPolicyItem) Specifications for on-demand policy. | |
pitEnabled | boolean Default: false Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false. |
projectId | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the project for the Backup Compliance Policy. |
restoreWindowDays | integer <int32> Number of previous days that you can restore back to with Continuous Cloud Backup with a Backup Compliance Policy. You must specify a positive, non-zero integer, and the maximum retention window can't exceed the hourly retention time. This parameter applies only to Continuous Cloud Backups with a Backup Compliance Policy. |
Array of objects (BackupComplianceScheduledPolicyItem) List that contains the specifications for one scheduled policy. |
{- "authorizedEmail": "user@example.com",
- "authorizedUserFirstName": "string",
- "authorizedUserLastName": "string",
- "copyProtectionEnabled": false,
- "encryptionAtRestEnabled": false,
- "onDemandPolicyItem": {
- "frequencyInterval": 0,
- "frequencyType": "ondemand",
- "retentionUnit": "days",
- "retentionValue": 0
}, - "pitEnabled": false,
- "projectId": "32b6e34b3d91647abb20e7b8",
- "restoreWindowDays": 0,
- "scheduledPolicyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
}
{- "authorizedEmail": "user@example.com",
- "authorizedUserFirstName": "string",
- "authorizedUserLastName": "string",
- "copyProtectionEnabled": false,
- "deletable": false,
- "encryptionAtRestEnabled": false,
- "onDemandPolicyItem": {
- "frequencyInterval": 0,
- "frequencyType": "ondemand",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}, - "pitEnabled": false,
- "projectId": "32b6e34b3d91647abb20e7b8",
- "restoreWindowDays": 0,
- "scheduledPolicyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
], - "state": "ACTIVE",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedUser": "user@example.com"
}
Returns all Cloud Backup Snapshot Export Jobs associated with the specified Atlas cluster. To use this resource, the requesting API Key must have the Project Atlas Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
{- "results": [
- {
- "components": [
- {
- "exportId": "32b6e34b3d91647abb20e7b8",
- "replicaSetName": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "customData": [
- {
- "key": "string",
- "value": "string"
}
], - "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "exportStatus": {
- "exportedCollections": 0,
- "totalCollections": 0
}, - "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "prefix": "string",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "Cancelled",
- "stateReason": {
- "errorCode": "string",
- "message": "string"
}
}
], - "totalCount": 0
}
Exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket. To use this resource, the requesting API Key must have the Project Atlas Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
Information about the Cloud Backup Snapshot Export Job to create.
Array of objects (BackupLabel) Collection of key-value pairs that represent custom data to add to the metadata file that MongoDB Cloud uploads to the bucket when the export job finishes. | |
exportBucketId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the Export Bucket. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the Cloud Backup Snapshot to export. |
{- "customData": [
- {
- "key": "string",
- "value": "string"
}
], - "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "snapshotId": "32b6e34b3d91647abb20e7b8"
}
{- "components": [
- {
- "exportId": "32b6e34b3d91647abb20e7b8",
- "replicaSetName": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "customData": [
- {
- "key": "string",
- "value": "string"
}
], - "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "exportStatus": {
- "exportedCollections": 0,
- "totalCollections": 0
}, - "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "prefix": "string",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "Cancelled",
- "stateReason": {
- "errorCode": "string",
- "message": "string"
}
}
Returns one Cloud Backup Snapshot Export Job associated with the specified Atlas cluster. To use this resource, the requesting API Key must have the Project Atlas Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
exportId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal character string that identifies the Export Job. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "components": [
- {
- "exportId": "32b6e34b3d91647abb20e7b8",
- "replicaSetName": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "customData": [
- {
- "key": "string",
- "value": "string"
}
], - "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "exportStatus": {
- "exportedCollections": 0,
- "totalCollections": 0
}, - "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "prefix": "string",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "Cancelled",
- "stateReason": {
- "errorCode": "string",
- "message": "string"
}
}
Returns all cloud backup restore jobs for one cluster from the specified project. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster with the restore jobs you want to return. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "cancelled": true,
- "components": [
- {
- "downloadUrl": "string",
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "replicaSetName": "string"
}
], - "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of queued or inProgress exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Restores one snapshot of one cluster from the specified project.
deliveryType required | string Enum: "automated" "download" "pointInTime" Human-readable label that categorizes the restore job to create. |
oplogInc | integer <int32> >= 1 Oplog operation number from which you want to restore this snapshot. This number represents the second part of an Oplog timestamp. The resource returns this parameter when |
oplogTs | integer <int32> >= 1199145600 Date and time from which you want to restore this snapshot. This parameter expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. This number represents the first part of an Oplog timestamp. The resource returns this parameter when |
pointInTimeUTCSeconds | integer <int32> >= 1199145600 Date and time from which MongoDB Cloud restored this snapshot. This parameter expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. The resource returns this parameter when |
snapshotId | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the snapshot. |
targetClusterName | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the target cluster to which the restore job restores the snapshot. The resource returns this parameter when |
targetGroupId | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the target project for the specified targetClusterName. Required for |
{- "deliveryType": "automated",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8"
}
{- "cancelled": true,
- "components": [
- {
- "downloadUrl": "string",
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "replicaSetName": "string"
}
], - "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
Cancels one cloud backup restore job of one cluster from the specified project. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
restoreJobId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the restore job to remove. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one cloud backup restore job for one cluster from the specified project. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster with the restore jobs you want to return. |
restoreJobId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the restore job to return. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "cancelled": true,
- "components": [
- {
- "downloadUrl": "string",
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "replicaSetName": "string"
}
], - "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "privateDownloadDeliveryUrls": [
- {
- "deliveryUrl": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1"
}
], - "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
Removes all cloud backup schedules for the specified cluster. This schedule defines when MongoDB Cloud takes scheduled snapshots and how long it stores those snapshots. To use this resource, the requesting API Key must have the Project Atlas Admin role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "autoExportEnabled": true,
- "clusterId": "32b6e34b3d91647abb20e7b8",
- "clusterName": "string",
- "copySettings": [
- {
- "cloudProvider": "AWS",
- "frequencies": [
- "HOURLY"
], - "regionName": "string",
- "shouldCopyOplogs": true,
- "zoneId": "32b6e34b3d91647abb20e7b8"
}
], - "export": {
- "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "frequencyType": "monthly"
}, - "extraRetentionSettings": [
- {
- "frequencyType": "HOURLY",
- "retentionDays": 0
}
], - "nextSnapshot": "2019-08-24T14:15:22Z",
- "policies": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "policyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
}
], - "referenceHourOfDay": 0,
- "referenceMinuteOfHour": 0,
- "restoreWindowDays": 0,
- "useOrgAndGroupNamesInExportPrefix": true
}
Returns the cloud backup schedule for the specified cluster within the specified project. This schedule defines when MongoDB Cloud takes scheduled snapshots and how long it stores those snapshots. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "autoExportEnabled": true,
- "clusterId": "32b6e34b3d91647abb20e7b8",
- "clusterName": "string",
- "copySettings": [
- {
- "cloudProvider": "AWS",
- "frequencies": [
- "HOURLY"
], - "regionName": "string",
- "shouldCopyOplogs": true,
- "zoneId": "32b6e34b3d91647abb20e7b8"
}
], - "export": {
- "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "frequencyType": "monthly"
}, - "extraRetentionSettings": [
- {
- "frequencyType": "HOURLY",
- "retentionDays": 0
}
], - "nextSnapshot": "2019-08-24T14:15:22Z",
- "policies": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "policyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
}
], - "referenceHourOfDay": 0,
- "referenceMinuteOfHour": 0,
- "restoreWindowDays": 0,
- "useOrgAndGroupNamesInExportPrefix": true
}
Updates the cloud backup schedule for one cluster within the specified project. This schedule defines when MongoDB Cloud takes scheduled snapshots and how long it stores those snapshots. To use this resource, the requesting API Key must have the Project Owner role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Updates the cloud backup schedule for one cluster within the specified project.
Note: In the request body, provide only the fields that you want to update.
autoExportEnabled | boolean Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. |
Array of objects (DiskBackupCopySetting20240805) List that contains a document for each copy setting item in the desired backup policy. | |
Array of objects (DeleteCopiedBackups20240805) List that contains a document for each deleted copy setting whose backup copies you want to delete. | |
object (export) Policy for automatically exporting Cloud Backup Snapshots. | |
Array of objects (ExtraRetentionSetting) List that contains a document for each extra retention setting item in the desired backup policy. | |
Array of objects (AdvancedDiskBackupSnapshotSchedulePolicy) <= 1 items Rules set for this backup schedule. | |
referenceHourOfDay | integer <int32> Hour of day in Coordinated Universal Time (UTC) that represents when MongoDB Cloud takes the Snapshot. |
referenceMinuteOfHour | integer <int32> Minute of the referenceHourOfDay that represents when MongoDB Cloud takes the Snapshot. |
restoreWindowDays | integer <int32> Number of previous days that you can restore back to with Continuous Cloud Backup accuracy. You must specify a positive, non-zero integer. This parameter applies to continuous Cloud Backups only. |
updateSnapshots | boolean Flag that indicates whether to apply the retention changes in the updated backup policy to Snapshots that MongoDB Cloud took previously. |
useOrgAndGroupNamesInExportPrefix | boolean Flag that indicates whether to use organization and project names instead of organization and project UUIDs in the path to the metadata files that MongoDB Cloud uploads to your Export Bucket. |
{- "autoExportEnabled": true,
- "copySettings": [
- {
- "cloudProvider": "AWS",
- "frequencies": [
- "HOURLY"
], - "regionName": "string",
- "shouldCopyOplogs": true,
- "zoneId": "32b6e34b3d91647abb20e7b8"
}
], - "deleteCopiedBackups": [
- {
- "cloudProvider": "AWS",
- "regionName": "string",
- "zoneId": "32b6e34b3d91647abb20e7b8"
}
], - "export": {
- "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "frequencyType": "monthly"
}, - "extraRetentionSettings": [
- {
- "frequencyType": "HOURLY",
- "retentionDays": 0
}
], - "policies": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "policyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
}
], - "referenceHourOfDay": 0,
- "referenceMinuteOfHour": 0,
- "restoreWindowDays": 0,
- "updateSnapshots": true,
- "useOrgAndGroupNamesInExportPrefix": true
}
{- "autoExportEnabled": true,
- "clusterId": "32b6e34b3d91647abb20e7b8",
- "clusterName": "string",
- "copySettings": [
- {
- "cloudProvider": "AWS",
- "frequencies": [
- "HOURLY"
], - "regionName": "string",
- "shouldCopyOplogs": true,
- "zoneId": "32b6e34b3d91647abb20e7b8"
}
], - "export": {
- "exportBucketId": "32b6e34b3d91647abb20e7b8",
- "frequencyType": "monthly"
}, - "extraRetentionSettings": [
- {
- "frequencyType": "HOURLY",
- "retentionDays": 0
}
], - "nextSnapshot": "2019-08-24T14:15:22Z",
- "policies": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "policyItems": [
- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
}
], - "referenceHourOfDay": 0,
- "referenceMinuteOfHour": 0,
- "restoreWindowDays": 0,
- "useOrgAndGroupNamesInExportPrefix": true
}
Returns all snapshots of one cluster from the specified project. To use this resource, the requesting API Key must have the Project Read Only role or Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "cloudProvider": "AWS",
- "copyRegions": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "replicaSetName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
], - "totalCount": 0
}
Takes one on-demand snapshot for the specified cluster. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of queued or inProgress exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Takes one on-demand snapshot.
description | string Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when |
retentionInDays | integer <int32> >= 1 Number of days that MongoDB Cloud should retain the on-demand snapshot. Must be at least 1. |
{- "description": "string",
- "retentionInDays": 1
}
{- "cloudProvider": "AWS",
- "copyRegions": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "replicaSetName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
Removes one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one snapshot of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Read Only role or Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "configServerType": "EMBEDDED",
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "members": [
- {
- "cloudProvider": "AWS",
- "id": "32b6e34b3d91647abb20e7b8",
- "replicaSetName": "string"
}
], - "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "snapshotIds": [
- "32b6e34b3d91647abb20e7b8"
], - "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
Returns all snapshots of one sharded cluster from the specified project. To use this resource, the requesting API Key must have the Project Read Only role or Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "configServerType": "EMBEDDED",
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "members": [
- {
- "cloudProvider": "AWS",
- "id": "32b6e34b3d91647abb20e7b8",
- "replicaSetName": "string"
}
], - "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "snapshotIds": [
- "32b6e34b3d91647abb20e7b8"
], - "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
], - "totalCount": 0
}
Removes the specified snapshot. To use this resource, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one snapshot from the specified cluster. To use this resource, the requesting API Key must have the Project Read Only role or Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "cloudProvider": "AWS",
- "copyRegions": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "replicaSetName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
Changes the expiration date for one cloud backup snapshot for one cluster in the specified project, the requesting API Key must have the Project Backup Manager role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Changes the expiration date for one cloud backup snapshot for one cluster in the specified project.
retentionUnit required | string Enum: "DAYS" "WEEKS" "MONTHS" "YEARS" Quantity of time in which MongoDB Cloud measures snapshot retention. |
retentionValue required | integer <int32> Number that indicates the amount of days, weeks, months, or years that MongoDB Cloud retains the snapshot. For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items. If the hourly policy item specifies a retention of two days, specify two days or greater for the retention of the weekly policy item. |
{- "retentionUnit": "DAYS",
- "retentionValue": 5
}
{- "cloudProvider": "AWS",
- "copyRegions": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "replicaSetName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
Returns all restore jobs for one serverless instance from the specified project. To use this resource, the requesting API Key must have the Project Owner role.
This API can also be used on Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset in January 2026. Please use the listFlexBackupRestoreJobs endpoint instead.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the serverless instance. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "cancelled": true,
- "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0
}
Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting API Key must have the Project Owner role.
This API can also be used on Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset in January 2026. Please use the createFlexBackupRestoreJob endpoint instead.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the serverless instance whose snapshot you want to restore. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Restores one snapshot of one serverless instance from the specified project.
deliveryType required | string Enum: "automated" "download" "pointInTime" Human-readable label that categorizes the restore job to create. |
oplogInc | integer <int32> >= 1 Oplog operation number from which you want to restore this snapshot. This number represents the second part of an Oplog timestamp. The resource returns this parameter when |
oplogTs | integer <int32> >= 1199145600 Date and time from which you want to restore this snapshot. This parameter expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. This number represents the first part of an Oplog timestamp. The resource returns this parameter when |
pointInTimeUTCSeconds | integer <int32> >= 1199145600 Date and time from which MongoDB Cloud restored this snapshot. This parameter expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. The resource returns this parameter when |
snapshotId | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the snapshot. |
targetClusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the target cluster to which the restore job restores the snapshot. The resource returns this parameter when |
targetGroupId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the target project for the specified targetClusterName. |
{- "deliveryType": "automated",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8"
}
{- "cancelled": true,
- "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
Returns one restore job for one serverless instance from the specified project. To use this resource, the requesting API Key must have the Project Owner role.
This API can also be used on Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset in January 2026. Please use the getFlexBackupRestoreJob endpoint instead.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the serverless instance. |
restoreJobId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the restore job to return. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "cancelled": true,
- "deliveryType": "automated",
- "deliveryUrl": [
- "string"
], - "desiredTimestamp": {
- "date": "2019-08-24T14:15:22Z",
- "increment": 1199145600
}, - "expired": true,
- "expiresAt": "2019-08-24T14:15:22Z",
- "failed": true,
- "finishedAt": "2019-08-24T14:15:22Z",
- "id": "32b6e34b3d91647abb20e7b8",
- "oplogInc": 1,
- "oplogTs": 1199145600,
- "pointInTimeUTCSeconds": 1199145600,
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "targetClusterName": "string",
- "targetGroupId": "32b6e34b3d91647abb20e7b8",
- "timestamp": "2019-08-24T14:15:22Z"
}
Returns all snapshots of one serverless instance from the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
This API can also be used on Flex clusters that were created with the createServerlessInstance endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset in January 2026. Please use the listFlexBackups endpoint instead.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the serverless instance. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
{- "results": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "mongodVersion": "string",
- "serverlessInstanceName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0
}
], - "totalCount": 0
}
Returns one snapshot of one serverless instance from the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
This endpoint can also be used on Flex clusters that were created with the createServerlessInstance API or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset in January 2026. Please use the getFlexBackup endpoint instead.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the serverless instance. |
snapshotId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies the desired snapshot. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "createdAt": "2019-08-24T14:15:22Z",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "mongodVersion": "string",
- "serverlessInstanceName": "string",
- "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0
}
Manages the Cloud Migration Service. Source organizations, projects, and MongoDB clusters reside on Cloud Manager or Ops Manager. Destination organizations, projects, and MongoDB clusters reside on MongoDB Cloud. Source databases can't use any authentication except SCRAM-SHA.
Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.
Please make sure to validate your migration before initiating it.
You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource.
NOTE: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
One migration to be created.
required | object (Destination) Document that describes the destination of the migration. |
dropDestinationData | boolean Default: false Flag that indicates whether the migration process drops all collections from the destination cluster before the migration starts. |
migrationHosts | Array of strings = 1 items List of migration hosts used for this migration. |
object (ShardingRequest) Document that configures sharding on the destination cluster when migrating from a replica set source to a sharded cluster destination on MongoDB 6.0 or higher. If you don't wish to shard any collections on the destination cluster, leave this empty. | |
required | object (Source) Document that describes the source of the migration. |
{- "destination": {
- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnameSchemaType": "PUBLIC",
- "privateLinkId": "string"
}, - "dropDestinationData": false,
- "migrationHosts": [
- "vm001.example.com"
], - "sharding": {
- "createSupportingIndexes": true,
- "shardingEntries": [
- {
- "collection": "string",
- "database": "string",
- "shardCollection": {
- "key": [
- {
- "property1": { },
- "property2": { }
}
]
}
}
]
}, - "source": {
- "caCertificatePath": "string",
- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "managedAuthentication": true,
- "password": "string",
- "ssl": true,
- "username": "string"
}
}
{- "_id": "32b6e34b3d91647abb20e7b8",
- "lagTimeSeconds": 0,
- "migrationHosts": [
- "vm001.example.com"
], - "readyForCutover": true,
- "status": "NEW"
}
Verifies whether the provided credentials, available disk space, MongoDB versions, and so on meet the requirements of the migration request. If the check passes, the migration can proceed. Your API Key must have the Organization Owner role to successfully call this resource. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
One migration to be validated.
required | object (Destination) Document that describes the destination of the migration. |
dropDestinationData | boolean Default: false Flag that indicates whether the migration process drops all collections from the destination cluster before the migration starts. |
migrationHosts | Array of strings = 1 items List of migration hosts used for this migration. |
object (ShardingRequest) Document that configures sharding on the destination cluster when migrating from a replica set source to a sharded cluster destination on MongoDB 6.0 or higher. If you don't wish to shard any collections on the destination cluster, leave this empty. | |
required | object (Source) Document that describes the source of the migration. |
{- "destination": {
- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnameSchemaType": "PUBLIC",
- "privateLinkId": "string"
}, - "dropDestinationData": false,
- "migrationHosts": [
- "vm001.example.com"
], - "sharding": {
- "createSupportingIndexes": true,
- "shardingEntries": [
- {
- "collection": "string",
- "database": "string",
- "shardCollection": {
- "key": [
- {
- "property1": { },
- "property2": { }
}
]
}
}
]
}, - "source": {
- "caCertificatePath": "string",
- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "managedAuthentication": true,
- "password": "string",
- "ssl": true,
- "username": "string"
}
}
{- "_id": "32b6e34b3d91647abb20e7b8",
- "errorMessage": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "sourceGroupId": "32b6e34b3d91647abb20e7b8",
- "status": "PENDING"
}
Return the status of one migration validation job. Your API Key must have the Organization Owner role to successfully call this resource.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
validationId required | string^([a-f0-9]{24})$ Example: 507f1f77bcf86cd799439011 Unique 24-hexadecimal digit string that identifies the validation job. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "errorMessage": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "sourceGroupId": "32b6e34b3d91647abb20e7b8",
- "status": "PENDING"
}
Return details of one cluster migration job. Each push live migration job uses one migration host. Your API Key must have the Organization Member role to successfully call this resource.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
liveMigrationId required | string^([a-f0-9]{24})$ Example: 6296fb4c7c7aa997cf94e9a8 Unique 24-hexadecimal digit string that identifies the migration. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "lagTimeSeconds": 0,
- "migrationHosts": [
- "vm001.example.com"
], - "readyForCutover": true,
- "status": "NEW"
}
Cut over the migrated cluster to MongoDB Atlas. Confirm when the cut over completes. When the cut over completes, MongoDB Atlas completes the live migration process and stops synchronizing with the source cluster. Your API Key must have the Organization Owner role to successfully call this resource.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
liveMigrationId required | string^([a-f0-9]{24})$ Example: 6296fb4c7c7aa997cf94e9a8 Unique 24-hexadecimal digit string that identifies the migration. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
- "error": 400,
- "errorCode": "VALIDATION_ERROR",
- "reason": "Bad Request"
}
Return all projects that you can migrate to the specified organization.
orgId required | string^([a-f0-9]{24})$ Example: 4888442a3354817a7320eb61 Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "deployments": [
- {
- "agentVersion": "string",
- "clusterId": "32b6e34b3d91647abb20e7b8",
- "dbSizeBytes": 8192,
- "featureCompatibilityVersion": "string",
- "managed": true,
- "mongoDBVersion": "string",
- "name": "Project X sharded cluster",
- "oplogSizeMB": 3,
- "sharded": true,
- "shardsSize": 3,
- "tlsEnabled": true
}
], - "migrationHosts": [
- "string"
], - "name": "string",
- "projectId": "32b6e34b3d91647abb20e7b8"
}
]
Remove one organization link and its associated public API key. MongoDB Atlas uses the link-token for push live migrations only. Live migrations (push) let you securely push data from Cloud Manager or Ops Manager into MongoDB Atlas. Your API Key must have the Organization Owner role to successfully call this resource.
orgId required | string^([a-f0-9]{24})$ Example: 4888442a3354817a7320eb61 Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{ }
Create one link-token that contains all the information required to complete the link. MongoDB Atlas uses the link-token for push live migrations only. Live migration (push) allows you to securely push data from Cloud Manager or Ops Manager into MongoDB Atlas. Your API Key must have the Organization Owner role to successfully call this resource.
orgId required | string^([a-f0-9]{24})$ Example: 4888442a3354817a7320eb61 Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
IP address access list entries associated with the migration.
accessListIps | Array of strings IP address access list entries associated with the API key. |
{- "accessListIps": [
- "string"
]
}
{- "linkToken": "string"
}
Returns all cloud provider access roles with access to the specified project. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "awsIamRoles": [
- {
- "providerName": "AWS",
- "atlasAWSAccountArn": "arn:aws:iam::772401394250:role/my-test-aws-role",
- "atlasAssumedRoleExternalId": "24be57ae-3c7b-4f00-b2d8-8ad523d5bd8d",
- "authorizedDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "featureUsages": [
- {
- "featureType": "ATLAS_DATA_LAKE"
}
], - "iamAssumedRoleArn": "arn:aws:iam::123456789012:root",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
], - "azureServicePrincipals": [
- {
- "providerName": "AWS",
- "_id": "32b6e34b3d91647abb20e7b8",
- "atlasAzureAppId": "fa987465-057e-40db-aba0-9f2d4cc5853c",
- "createdDate": "2019-08-24T14:15:22Z",
- "featureUsages": [
- {
- "featureType": "ATLAS_DATA_LAKE"
}
], - "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "servicePrincipalId": "f25408bf-fda4-449e-87e7-67cf2d3e5615",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}
]
}
Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one role for the specified cloud provider.
providerName required | string Human-readable label that identifies the cloud provider of the role. |
{- "providerName": "AWS"
}
{- "providerName": "AWS",
- "atlasAWSAccountArn": "arn:aws:iam::772401394250:role/my-test-aws-role",
- "atlasAssumedRoleExternalId": "24be57ae-3c7b-4f00-b2d8-8ad523d5bd8d",
- "authorizedDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "featureUsages": [
- {
- "featureType": "ATLAS_DATA_LAKE"
}
], - "iamAssumedRoleArn": "arn:aws:iam::123456789012:root",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
Returns the access role with the specified id and with access to the specified project. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
roleId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the role. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "providerName": "AWS",
- "atlasAWSAccountArn": "arn:aws:iam::772401394250:role/my-test-aws-role",
- "atlasAssumedRoleExternalId": "24be57ae-3c7b-4f00-b2d8-8ad523d5bd8d",
- "authorizedDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "featureUsages": [
- {
- "featureType": "ATLAS_DATA_LAKE"
}
], - "iamAssumedRoleArn": "arn:aws:iam::123456789012:root",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
Ends a cluster outage simulation.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster that is undergoing outage simulation. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "outageFilters": [
- {
- "cloudProvider": "AWS",
- "regionName": "string",
- "type": "REGION"
}
], - "startRequestDate": "2019-08-24T14:15:22Z",
- "state": "START_REQUESTED"
}
Returns one outage simulation for one cluster.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster that is undergoing outage simulation. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "outageFilters": [
- {
- "cloudProvider": "AWS",
- "regionName": "string",
- "type": "REGION"
}
], - "startRequestDate": "2019-08-24T14:15:22Z",
- "state": "START_REQUESTED"
}
Starts a cluster outage simulation.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to undergo an outage simulation. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Describes the outage simulation.
Array of objects (AtlasClusterOutageSimulationOutageFilter) non-empty List of settings that specify the type of cluster outage simulation. |
{- "outageFilters": [
- {
- "cloudProvider": "AWS",
- "regionName": "string",
- "type": "REGION"
}
]
}
{- "clusterName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "outageFilters": [
- {
- "cloudProvider": "AWS",
- "regionName": "string",
- "type": "REGION"
}
], - "startRequestDate": "2019-08-24T14:15:22Z",
- "state": "START_REQUESTED"
}
Returns, adds, edits, and removes database deployments. Changes to cluster configurations can affect costs. This resource requires your Project ID.
Returns the details for all clusters in all projects to which you have access. Clusters contain a group of hosts that maintain the same data set. The response does not include multi-cloud clusters. To use this resource, the requesting API Key can have any cluster-level role.
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "clusters": [
- {
- "alertCount": 0,
- "authEnabled": true,
- "availability": "available",
- "backupEnabled": true,
- "clusterId": "string",
- "dataSizeBytes": 0,
- "name": "string",
- "nodeCount": 0,
- "sslEnabled": true,
- "type": "REPLICA_SET",
- "versions": [
- "string"
]
}
], - "groupId": "string",
- "groupName": "string",
- "orgId": "string",
- "orgName": "string",
- "planType": "string",
- "tags": [
- "string"
]
}
], - "totalCount": 0
}
Returns the details for all clusters in the specific project to which you have access. Clusters contain a group of hosts that maintain the same data set. The response includes clusters with asymmetrically-sized shards. To use this resource, the requesting API Key must have the Project Read Only role. This feature is not available for serverless clusters.
This endpoint can also be used on Flex clusters that were created using the createCluster endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the listFlexClusters endpoint for Flex clusters instead. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
includeDeletedWithRetainedBackups | boolean Default: false Flag that indicates whether to return Clusters with retain backups. |
{- "results": [
- {
- "acceptDataRisksAndForceReplicaSetReconfig": "2019-08-24T14:15:22Z",
- "advancedConfiguration": {
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "minimumEnabledTlsProtocol": "TLS1_0",
- "tlsCipherConfigMode": "CUSTOM"
}, - "backupEnabled": false,
- "biConnector": {
- "enabled": true,
- "readPreference": "PRIMARY"
}, - "clusterType": "REPLICASET",
- "configServerManagementMode": "ATLAS_MANAGED",
- "configServerType": "DEDICATED",
- "connectionStrings": {
- "awsPrivateLink": {
- "property1": "string",
- "property2": "string"
}, - "awsPrivateLinkSrv": {
- "property1": "string",
- "property2": "string"
}, - "private": "string",
- "privateEndpoint": [
- {
- "connectionString": "string",
- "endpoints": [
- {
- "endpointId": "string",
- "providerName": "AWS",
- "region": "string"
}
], - "srvConnectionString": "string",
- "srvShardOptimizedConnectionString": "string",
- "type": "MONGOD"
}
], - "privateSrv": "string",
- "standard": "string",
- "standardSrv": "string"
}, - "createDate": "2019-08-24T14:15:22Z",
- "diskWarmingMode": "FULLY_WARMED",
- "encryptionAtRestProvider": "NONE",
- "featureCompatibilityVersion": "string",
- "featureCompatibilityVersionExpirationDate": "2019-08-24T14:15:22Z",
- "globalClusterSelfManagedSharding": true,
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "mongoDBEmployeeAccessGrant": {
- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS",
}, - "mongoDBMajorVersion": "string",
- "mongoDBVersion": "string",
- "name": "string",
- "paused": true,
- "pitEnabled": true,
- "redactClientLogData": true,
- "replicaSetScalingStrategy": "SEQUENTIAL",
- "replicationSpecs": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "regionConfigs": [
- {
- "electableSpecs": {
- "diskSizeGB": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10",
- "nodeCount": 0
}, - "priority": 7,
- "providerName": "AWS",
- "regionName": "US_GOV_WEST_1",
- "analyticsAutoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}, - "autoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "readOnlySpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}
}
], - "zoneId": "32b6e34b3d91647abb20e7b8",
- "zoneName": "string"
}
], - "rootCertType": "ISRGROOTX1",
- "stateName": "IDLE",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "terminationProtectionEnabled": false,
- "versionReleaseSystem": "LTS"
}
], - "totalCount": 0
}
Creates one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. This resource can create clusters with asymmetrically-sized shards. Each project supports up to 25 database deployments. To use this resource, the requesting API Key must have the Project Owner role. This feature is not available for serverless clusters.
Please note that using an instanceSize of M2 or M5 will create a Flex cluster instead. Support for the instanceSize of M2 or M5 will be discontinued in January 2026. We recommend using the createFlexCluster API for such configurations moving forward. Deprecated versions: v2-{2024-08-05}, v2-{2023-02-01}, v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Cluster to create in this project.
acceptDataRisksAndForceReplicaSetReconfig | string <date-time> If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set acceptDataRisksAndForceReplicaSetReconfig to the current date. |
object (ApiAtlasClusterAdvancedConfigurationView) Group of settings that configures a subset of the advanced configuration details. | |
backupEnabled | boolean Default: false Flag that indicates whether the cluster can perform backups. If set to |
object (MongoDB Connector for Business Intelligence Settings) Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. | |
clusterType | string Enum: "REPLICASET" "SHARDED" "GEOSHARDED" Configuration of nodes that comprise the cluster. |
configServerManagementMode | string Default: "ATLAS_MANAGED" Enum: "ATLAS_MANAGED" "FIXED_TO_DEDICATED" Config Server Management Mode for creating or updating a sharded cluster. When configured as ATLAS_MANAGED, atlas may automatically switch the cluster's config server type for optimal performance and savings. When configured as FIXED_TO_DEDICATED, the cluster will always use a dedicated config server. |
diskWarmingMode | string Default: "FULLY_WARMED" Enum: "FULLY_WARMED" "VISIBLE_EARLIER" Disk warming mode selection. |
encryptionAtRestProvider | string Enum: "NONE" "AWS" "AZURE" "GCP" Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize setting must be |
globalClusterSelfManagedSharding | boolean Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. |
Array of objects (Component Label) Deprecated Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use resource tags instead. | |
object (EmployeeAccessGrantView) MongoDB employee granted access level and expiration for a cluster. | |
mongoDBMajorVersion | string MongoDB major version of the cluster. Set to the binary major version. On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for project LTS versions endpoint. On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version. |
name | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
paused | boolean Flag that indicates whether the cluster is paused. |
pitEnabled | boolean Flag that indicates whether the cluster uses continuous cloud backups. |
redactClientLogData | boolean Enable or disable log redaction. This setting configures the Use Note: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated. |
replicaSetScalingStrategy | string Default: "WORKLOAD_TYPE" Enum: "SEQUENTIAL" "WORKLOAD_TYPE" "NODE_TYPE" Set this field to configure the replica set scaling mode for your cluster. By default, Atlas scales under WORKLOAD_TYPE. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes. When configured as SEQUENTIAL, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads. When configured as NODE_TYPE, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads. |
Array of objects (Replication Specifications) List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. | |
rootCertType | string Default: "ISRGROOTX1" Value: "ISRGROOTX1" Root Certificate Authority that MongoDB Cloud cluster uses. MongoDB Cloud supports Internet Security Research Group. |
Array of objects (Resource Tag) List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. | |
terminationProtectionEnabled | boolean Default: false Flag that indicates whether termination protection is enabled on the cluster. If set to |
versionReleaseSystem | string Default: "LTS" Enum: "LTS" "CONTINUOUS" Method by which the cluster maintains the MongoDB versions. If value is |
Cluster
{- "clusterType": "SHARDED",
- "name": "myCluster",
- "replicationSpecs": [
- {
- "regionConfigs": [
- {
- "analyticsAutoScaling": {
- "autoIndexing": {
- "enabled": false
}, - "compute": {
- "enabled": true,
- "maxInstanceSize": "M40",
- "minInstanceSize": "M30",
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M40",
- "nodeCount": 0
}, - "autoScaling": {
- "autoIndexing": {
- "enabled": false
}, - "compute": {
- "enabled": true,
- "maxInstanceSize": "M60",
- "minInstanceSize": "M30",
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "electableSpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M60",
- "nodeCount": 3
}, - "priority": 7,
- "providerName": "AWS",
- "readOnlySpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M60",
- "nodeCount": 0
}, - "regionName": "US_EAST_1"
}
], - "zoneName": "Zone 1"
}, - {
- "regionConfigs": [
- {
- "analyticsAutoScaling": {
- "autoIndexing": {
- "enabled": false
}, - "compute": {
- "enabled": true,
- "maxInstanceSize": "M40",
- "minInstanceSize": "M30",
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M30",
- "nodeCount": 0
}, - "autoScaling": {
- "autoIndexing": {
- "enabled": false
}, - "compute": {
- "enabled": true,
- "maxInstanceSize": "M60",
- "minInstanceSize": "M30",
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "electableSpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M40",
- "nodeCount": 3
}, - "priority": 7,
- "providerName": "AWS",
- "readOnlySpecs": {
- "diskSizeGB": 10,
- "instanceSize": "M40",
- "nodeCount": 0
}, - "regionName": "US_EAST_1"
}
], - "zoneName": "Zone 1"
}
]
}
{- "acceptDataRisksAndForceReplicaSetReconfig": "2019-08-24T14:15:22Z",
- "advancedConfiguration": {
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "minimumEnabledTlsProtocol": "TLS1_0",
- "tlsCipherConfigMode": "CUSTOM"
}, - "backupEnabled": false,
- "biConnector": {
- "enabled": true,
- "readPreference": "PRIMARY"
}, - "clusterType": "REPLICASET",
- "configServerManagementMode": "ATLAS_MANAGED",
- "configServerType": "DEDICATED",
- "connectionStrings": {
- "awsPrivateLink": {
- "property1": "string",
- "property2": "string"
}, - "awsPrivateLinkSrv": {
- "property1": "string",
- "property2": "string"
}, - "private": "string",
- "privateEndpoint": [
- {
- "connectionString": "string",
- "endpoints": [
- {
- "endpointId": "string",
- "providerName": "AWS",
- "region": "string"
}
], - "srvConnectionString": "string",
- "srvShardOptimizedConnectionString": "string",
- "type": "MONGOD"
}
], - "privateSrv": "string",
- "standard": "string",
- "standardSrv": "string"
}, - "createDate": "2019-08-24T14:15:22Z",
- "diskWarmingMode": "FULLY_WARMED",
- "encryptionAtRestProvider": "NONE",
- "featureCompatibilityVersion": "string",
- "featureCompatibilityVersionExpirationDate": "2019-08-24T14:15:22Z",
- "globalClusterSelfManagedSharding": true,
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "mongoDBEmployeeAccessGrant": {
- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS",
}, - "mongoDBMajorVersion": "string",
- "mongoDBVersion": "string",
- "name": "string",
- "paused": true,
- "pitEnabled": true,
- "redactClientLogData": true,
- "replicaSetScalingStrategy": "SEQUENTIAL",
- "replicationSpecs": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "regionConfigs": [
- {
- "electableSpecs": {
- "diskSizeGB": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10",
- "nodeCount": 0
}, - "priority": 7,
- "providerName": "AWS",
- "regionName": "US_GOV_WEST_1",
- "analyticsAutoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}, - "autoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "readOnlySpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}
}
], - "zoneId": "32b6e34b3d91647abb20e7b8",
- "zoneName": "string"
}
], - "rootCertType": "ISRGROOTX1",
- "stateName": "IDLE",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "terminationProtectionEnabled": false,
- "versionReleaseSystem": "LTS"
}
Returns the list of regions available for the specified cloud provider at the specified tier. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
providers | Array of strings Cloud providers whose regions to retrieve. When you specify multiple providers, the response can return only tiers and regions that support multi-cloud clusters. |
tier | string Cluster tier for which to retrieve the regions. |
{- "results": [
- {
- "instanceSizes": [
- {
- "availableRegions": [
- {
- "default": true,
- "name": "string"
}
], - "name": "string"
}
], - "provider": "AWS"
}
], - "totalCount": 0
}
Removes one cluster from the specified project. The cluster must have termination protection disabled in order to be deleted. To use this resource, the requesting API Key must have the Project Owner role. This feature is not available for serverless clusters.
This endpoint can also be used on Flex clusters that were created using the createCluster endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the deleteFlexCluster endpoint for Flex clusters instead. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
retainBackups | boolean Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
- "error": 400,
- "errorCode": "VALIDATION_ERROR",
- "reason": "Bad Request"
}
Returns the details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. The response includes clusters with asymmetrically-sized shards. To use this resource, the requesting API Key must have the Project Read Only role. This feature is not available for serverless clusters.
This endpoint can also be used on Flex clusters that were created using the createCluster endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the getFlexCluster endpoint for Flex clusters instead. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "acceptDataRisksAndForceReplicaSetReconfig": "2019-08-24T14:15:22Z",
- "advancedConfiguration": {
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "minimumEnabledTlsProtocol": "TLS1_0",
- "tlsCipherConfigMode": "CUSTOM"
}, - "backupEnabled": false,
- "biConnector": {
- "enabled": true,
- "readPreference": "PRIMARY"
}, - "clusterType": "REPLICASET",
- "configServerManagementMode": "ATLAS_MANAGED",
- "configServerType": "DEDICATED",
- "connectionStrings": {
- "awsPrivateLink": {
- "property1": "string",
- "property2": "string"
}, - "awsPrivateLinkSrv": {
- "property1": "string",
- "property2": "string"
}, - "private": "string",
- "privateEndpoint": [
- {
- "connectionString": "string",
- "endpoints": [
- {
- "endpointId": "string",
- "providerName": "AWS",
- "region": "string"
}
], - "srvConnectionString": "string",
- "srvShardOptimizedConnectionString": "string",
- "type": "MONGOD"
}
], - "privateSrv": "string",
- "standard": "string",
- "standardSrv": "string"
}, - "createDate": "2019-08-24T14:15:22Z",
- "diskWarmingMode": "FULLY_WARMED",
- "encryptionAtRestProvider": "NONE",
- "featureCompatibilityVersion": "string",
- "featureCompatibilityVersionExpirationDate": "2019-08-24T14:15:22Z",
- "globalClusterSelfManagedSharding": true,
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "mongoDBEmployeeAccessGrant": {
- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS",
}, - "mongoDBMajorVersion": "string",
- "mongoDBVersion": "string",
- "name": "string",
- "paused": true,
- "pitEnabled": true,
- "redactClientLogData": true,
- "replicaSetScalingStrategy": "SEQUENTIAL",
- "replicationSpecs": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "regionConfigs": [
- {
- "electableSpecs": {
- "diskSizeGB": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10",
- "nodeCount": 0
}, - "priority": 7,
- "providerName": "AWS",
- "regionName": "US_GOV_WEST_1",
- "analyticsAutoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}, - "autoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "readOnlySpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}
}
], - "zoneId": "32b6e34b3d91647abb20e7b8",
- "zoneName": "string"
}
], - "rootCertType": "ISRGROOTX1",
- "stateName": "IDLE",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "terminationProtectionEnabled": false,
- "versionReleaseSystem": "LTS"
}
Updates the details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. This resource can update clusters with asymmetrically-sized shards. To update a cluster's termination protection, the requesting API Key must have the Project Owner role. For all other updates, the requesting API Key must have the Project Cluster Manager role. You can't modify a paused cluster (paused : true
). You must call this endpoint to set paused : false
. After this endpoint responds with paused : false
, you can call it again with the changes you want to make to the cluster. This feature is not available for serverless clusters. Deprecated versions: v2-{2024-08-05}, v2-{2023-02-01}, v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Cluster to update in the specified project.
acceptDataRisksAndForceReplicaSetReconfig | string <date-time> If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set acceptDataRisksAndForceReplicaSetReconfig to the current date. |
object (ApiAtlasClusterAdvancedConfigurationView) Group of settings that configures a subset of the advanced configuration details. | |
backupEnabled | boolean Default: false Flag that indicates whether the cluster can perform backups. If set to |
object (MongoDB Connector for Business Intelligence Settings) Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. | |
clusterType | string Enum: "REPLICASET" "SHARDED" "GEOSHARDED" Configuration of nodes that comprise the cluster. |
configServerManagementMode | string Default: "ATLAS_MANAGED" Enum: "ATLAS_MANAGED" "FIXED_TO_DEDICATED" Config Server Management Mode for creating or updating a sharded cluster. When configured as ATLAS_MANAGED, atlas may automatically switch the cluster's config server type for optimal performance and savings. When configured as FIXED_TO_DEDICATED, the cluster will always use a dedicated config server. |
diskWarmingMode | string Default: "FULLY_WARMED" Enum: "FULLY_WARMED" "VISIBLE_EARLIER" Disk warming mode selection. |
encryptionAtRestProvider | string Enum: "NONE" "AWS" "AZURE" "GCP" Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize setting must be |
globalClusterSelfManagedSharding | boolean Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. |
Array of objects (Component Label) Deprecated Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use resource tags instead. | |
object (EmployeeAccessGrantView) MongoDB employee granted access level and expiration for a cluster. | |
mongoDBMajorVersion | string MongoDB major version of the cluster. Set to the binary major version. On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for project LTS versions endpoint. On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version. |
name | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
paused | boolean Flag that indicates whether the cluster is paused. |
pitEnabled | boolean Flag that indicates whether the cluster uses continuous cloud backups. |
redactClientLogData | boolean Enable or disable log redaction. This setting configures the Use Note: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated. |
replicaSetScalingStrategy | string Default: "WORKLOAD_TYPE" Enum: "SEQUENTIAL" "WORKLOAD_TYPE" "NODE_TYPE" Set this field to configure the replica set scaling mode for your cluster. By default, Atlas scales under WORKLOAD_TYPE. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes. When configured as SEQUENTIAL, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads. When configured as NODE_TYPE, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads. |
Array of objects (Replication Specifications) List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. | |
rootCertType | string Default: "ISRGROOTX1" Value: "ISRGROOTX1" Root Certificate Authority that MongoDB Cloud cluster uses. MongoDB Cloud supports Internet Security Research Group. |
Array of objects (Resource Tag) List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. | |
terminationProtectionEnabled | boolean Default: false Flag that indicates whether termination protection is enabled on the cluster. If set to |
versionReleaseSystem | string Default: "LTS" Enum: "LTS" "CONTINUOUS" Method by which the cluster maintains the MongoDB versions. If value is |
{- "acceptDataRisksAndForceReplicaSetReconfig": "2019-08-24T14:15:22Z",
- "advancedConfiguration": {
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "minimumEnabledTlsProtocol": "TLS1_0",
- "tlsCipherConfigMode": "CUSTOM"
}, - "backupEnabled": false,
- "biConnector": {
- "enabled": true,
- "readPreference": "PRIMARY"
}, - "clusterType": "REPLICASET",
- "configServerManagementMode": "ATLAS_MANAGED",
- "diskWarmingMode": "FULLY_WARMED",
- "encryptionAtRestProvider": "NONE",
- "globalClusterSelfManagedSharding": true,
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "mongoDBEmployeeAccessGrant": {
- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS"
}, - "mongoDBMajorVersion": "string",
- "name": "string",
- "paused": true,
- "pitEnabled": true,
- "redactClientLogData": true,
- "replicaSetScalingStrategy": "SEQUENTIAL",
- "replicationSpecs": [
- {
- "regionConfigs": [
- {
- "electableSpecs": {
- "diskSizeGB": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10",
- "nodeCount": 0
}, - "priority": 7,
- "providerName": "AWS",
- "regionName": "US_GOV_WEST_1",
- "analyticsAutoScaling": {
- "compute": {
- "enabled": true,
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}, - "autoScaling": {
- "compute": {
- "enabled": true,
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "readOnlySpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}
}
], - "zoneName": "string"
}
], - "rootCertType": "ISRGROOTX1",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "terminationProtectionEnabled": false,
- "versionReleaseSystem": "LTS"
}
{- "acceptDataRisksAndForceReplicaSetReconfig": "2019-08-24T14:15:22Z",
- "advancedConfiguration": {
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "minimumEnabledTlsProtocol": "TLS1_0",
- "tlsCipherConfigMode": "CUSTOM"
}, - "backupEnabled": false,
- "biConnector": {
- "enabled": true,
- "readPreference": "PRIMARY"
}, - "clusterType": "REPLICASET",
- "configServerManagementMode": "ATLAS_MANAGED",
- "configServerType": "DEDICATED",
- "connectionStrings": {
- "awsPrivateLink": {
- "property1": "string",
- "property2": "string"
}, - "awsPrivateLinkSrv": {
- "property1": "string",
- "property2": "string"
}, - "private": "string",
- "privateEndpoint": [
- {
- "connectionString": "string",
- "endpoints": [
- {
- "endpointId": "string",
- "providerName": "AWS",
- "region": "string"
}
], - "srvConnectionString": "string",
- "srvShardOptimizedConnectionString": "string",
- "type": "MONGOD"
}
], - "privateSrv": "string",
- "standard": "string",
- "standardSrv": "string"
}, - "createDate": "2019-08-24T14:15:22Z",
- "diskWarmingMode": "FULLY_WARMED",
- "encryptionAtRestProvider": "NONE",
- "featureCompatibilityVersion": "string",
- "featureCompatibilityVersionExpirationDate": "2019-08-24T14:15:22Z",
- "globalClusterSelfManagedSharding": true,
- "groupId": "32b6e34b3d91647abb20e7b8",
- "id": "32b6e34b3d91647abb20e7b8",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "mongoDBEmployeeAccessGrant": {
- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS",
}, - "mongoDBMajorVersion": "string",
- "mongoDBVersion": "string",
- "name": "string",
- "paused": true,
- "pitEnabled": true,
- "redactClientLogData": true,
- "replicaSetScalingStrategy": "SEQUENTIAL",
- "replicationSpecs": [
- {
- "id": "32b6e34b3d91647abb20e7b8",
- "regionConfigs": [
- {
- "electableSpecs": {
- "diskSizeGB": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10",
- "nodeCount": 0
}, - "priority": 7,
- "providerName": "AWS",
- "regionName": "US_GOV_WEST_1",
- "analyticsAutoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "analyticsSpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}, - "autoScaling": {
- "compute": {
- "enabled": true,
- "maxInstanceSize": "M10",
- "minInstanceSize": "M10",
- "predictiveEnabled": true,
- "scaleDownEnabled": true
}, - "diskGB": {
- "enabled": true
}
}, - "readOnlySpecs": {
- "diskSizeGB": 0,
- "nodeCount": 0,
- "diskIOPS": 0,
- "ebsVolumeType": "STANDARD",
- "instanceSize": "M10"
}
}
], - "zoneId": "32b6e34b3d91647abb20e7b8",
- "zoneName": "string"
}
], - "rootCertType": "ISRGROOTX1",
- "stateName": "IDLE",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "terminationProtectionEnabled": false,
- "versionReleaseSystem": "LTS"
}
Returns the internal configuration of AutoScaling for sharded clusters. This endpoint can be used for diagnostic purposes to ensure that sharded clusters updated from older APIs have gained support for AutoScaling each shard independently.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "autoScalingMode": "INDEPENDENT_SHARD_SCALING"
}
Returns the advanced configuration details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. Advanced configuration details include the read/write concern, index and oplog limits, and other database settings. This feature isn't available for M0
free clusters, M2
and M5
shared-tier clusters, flex clusters, or serverless clusters. To use this resource, the requesting API Key must have the Project Read Only role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "changeStreamOptionsPreAndPostImagesExpireAfterSeconds": -1,
- "chunkMigrationConcurrency": 0,
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "defaultMaxTimeMS": 0,
- "defaultWriteConcern": "string",
- "javascriptEnabled": true,
- "minimumEnabledTlsProtocol": "TLS1_0",
- "noTableScan": true,
- "oplogMinRetentionHours": 0,
- "oplogSizeMB": 0,
- "queryStatsLogVerbosity": 0,
- "sampleRefreshIntervalBIConnector": 0,
- "sampleSizeBIConnector": 0,
- "tlsCipherConfigMode": "CUSTOM",
- "transactionLifetimeLimitSeconds": 1
}
Updates the advanced configuration details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. Advanced configuration details include the read/write concern, index and oplog limits, and other database settings. To use this resource, the requesting API Key must have the Project Cluster Manager role. This feature isn't available for M0
free clusters, M2
and M5
shared-tier clusters, flex clusters, or serverless clusters. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Advanced configuration details to add for one cluster in the specified project.
changeStreamOptionsPreAndPostImagesExpireAfterSeconds | integer <int32> Default: -1 The minimum pre- and post-image retention time in seconds. |
chunkMigrationConcurrency | integer <int32> Number of threads on the source shard and the receiving shard for chunk migration. The number of threads should not exceed the half the total number of CPU cores in the sharded cluster. |
customOpensslCipherConfigTls12 | Array of strings Items Enum: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" The custom OpenSSL cipher suite list for TLS 1.2. This field is only valid when |
defaultMaxTimeMS | integer <int32> Default time limit in milliseconds for individual read operations to complete. |
defaultWriteConcern | string Default level of acknowledgment requested from MongoDB for write operations when none is specified by the driver. |
javascriptEnabled | boolean Flag that indicates whether the cluster allows execution of operations that perform server-side executions of JavaScript. When using 8.0+, we recommend disabling server-side JavaScript and using operators of aggregation pipeline as more performant alternative. |
minimumEnabledTlsProtocol | string Enum: "TLS1_0" "TLS1_1" "TLS1_2" Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version. |
noTableScan | boolean Flag that indicates whether the cluster disables executing any query that requires a collection scan to return results. |
oplogMinRetentionHours | number or null <double> Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates. |
oplogSizeMB | integer or null <int32> Storage limit of cluster's oplog expressed in megabytes. A value of null indicates that the cluster uses the default oplog size that MongoDB Cloud calculates. |
queryStatsLogVerbosity | integer <int32> May be set to 1 (disabled) or 3 (enabled). When set to 3, Atlas will include redacted and anonymized $queryStats output in MongoDB logs. $queryStats output does not contain literals or field values. Enabling this setting might impact the performance of your cluster. |
sampleRefreshIntervalBIConnector | integer <int32> >= 0 Default: 0 Interval in seconds at which the mongosqld process re-samples data to create its relational schema. |
sampleSizeBIConnector | integer <int32> >= 0 Number of documents per database to sample when gathering schema information. |
tlsCipherConfigMode | string Enum: "CUSTOM" "DEFAULT" The TLS cipher suite configuration mode. The default mode uses the default cipher suites. The custom mode allows you to specify custom cipher suites for both TLS 1.2 and TLS 1.3. |
transactionLifetimeLimitSeconds | integer <int64> >= 1 Lifetime, in seconds, of multi-document transactions. Atlas considers the transactions that exceed this limit as expired and so aborts them through a periodic cleanup process. |
{- "changeStreamOptionsPreAndPostImagesExpireAfterSeconds": -1,
- "chunkMigrationConcurrency": 0,
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "defaultMaxTimeMS": 0,
- "defaultWriteConcern": "string",
- "javascriptEnabled": true,
- "minimumEnabledTlsProtocol": "TLS1_0",
- "noTableScan": true,
- "oplogMinRetentionHours": 0,
- "oplogSizeMB": 0,
- "queryStatsLogVerbosity": 0,
- "sampleRefreshIntervalBIConnector": 0,
- "sampleSizeBIConnector": 0,
- "tlsCipherConfigMode": "CUSTOM",
- "transactionLifetimeLimitSeconds": 1
}
{- "changeStreamOptionsPreAndPostImagesExpireAfterSeconds": -1,
- "chunkMigrationConcurrency": 0,
- "customOpensslCipherConfigTls12": [
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
], - "defaultMaxTimeMS": 0,
- "defaultWriteConcern": "string",
- "javascriptEnabled": true,
- "minimumEnabledTlsProtocol": "TLS1_0",
- "noTableScan": true,
- "oplogMinRetentionHours": 0,
- "oplogSizeMB": 0,
- "queryStatsLogVerbosity": 0,
- "sampleRefreshIntervalBIConnector": 0,
- "sampleSizeBIConnector": 0,
- "tlsCipherConfigMode": "CUSTOM",
- "transactionLifetimeLimitSeconds": 1
}
Starts a failover test for the specified cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. A failover test checks how MongoDB Cloud handles the failure of the cluster's primary node. During the test, MongoDB Cloud shuts down the primary node and elects a new primary. To use this resource, the requesting API Key must have the Project Cluster Manager role. Deprecated versions: v2-{2023-01-01}
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint)",
- "error": 401,
- "errorCode": "NOT_ORG_GROUP_CREATOR",
- "reason": "Unauthorized"
}
Returns the status of all changes that you made to the specified cluster in the specified project. Use this resource to check the progress MongoDB Cloud has made in processing your changes. The response does not include the deployment of new dedicated clusters. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "changeStatus": "PENDING",
}
Grants MongoDB employee cluster access for the given duration and at the specified level for one cluster.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Grant access level and expiration.
expirationTime required | string <date-time> Expiration date for the employee access grant. |
grantType required | string Enum: "CLUSTER_DATABASE_LOGS" "CLUSTER_INFRASTRUCTURE" "CLUSTER_INFRASTRUCTURE_AND_APP_SERVICES_SYNC_DATA" Level of access to grant to MongoDB Employees. |
{- "expirationTime": "2019-08-24T14:15:22Z",
- "grantType": "CLUSTER_DATABASE_LOGS"
}
{ }
Pins the Feature Compatibility Version (FCV) to the current MongoDB version and sets the pin expiration date. If an FCV pin already exists for the cluster, calling this method will only update the expiration date of the existing pin and will not repin the FCV.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Optional request params for tuning FCV pinning configuration.
expirationDate | string <date-time> Expiration date of the fixed FCV. If not specified, the expiration date will default to 4 weeks from the date FCV was originally pinned. Note that this field cannot exceed 4 weeks from the pinned date. |
{- "expirationDate": "2019-08-24T14:15:22Z"
}
{ }
Revokes a previously granted MongoDB employee cluster access.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Unpins the current fixed Feature Compatibility Version (FCV). This feature is not available for clusters on rapid release.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies this cluster. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Requests loading the MongoDB sample dataset into the specified cluster. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
name required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster into which you load the sample dataset. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "clusterName": "string",
- "completeDate": "2019-08-24T14:15:22Z",
- "createDate": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "state": "WORKING"
}
Checks the progress of loading the sample dataset into one cluster. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
sampleDatasetId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal digit string that identifies the loaded sample dataset. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "clusterName": "string",
- "completeDate": "2019-08-24T14:15:22Z",
- "createDate": "2019-08-24T14:15:22Z",
- "errorMessage": "string",
- "state": "WORKING"
}
Returns, adds, and edits pinned namespaces for the specified cluster or process. Also returns collection level latency metric data.
Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to retrieve pinned namespaces for. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "clusterId": "32b6e34b3d91647abb20e7b8",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "pinnedNamespaces": [
- "string"
]
}
Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to pin namespaces to. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
List of namespace strings (combination of database and collection name) to pin for query latency metric collection.
namespaces | Array of strings unique List of namespace strings (combination of database and collection) on the specified host or cluster. |
{- "namespaces": [
- "string"
]
}
{- "clusterId": "32b6e34b3d91647abb20e7b8",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "pinnedNamespaces": [
- "string"
]
}
Pin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster. This initializes a pinned namespaces list or replaces any existing pinned namespaces list for the Group and Cluster.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to pin namespaces to. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
List of namespace strings (combination of database and collection name) to pin for query latency metric collection.
namespaces | Array of strings unique List of namespace strings (combination of database and collection) on the specified host or cluster. |
{- "namespaces": [
- "string"
]
}
{- "clusterId": "32b6e34b3d91647abb20e7b8",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "pinnedNamespaces": [
- "string"
]
}
Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to unpin namespaces from. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
List of namespace strings (combination of database and collection name) to pin for query latency metric collection.
namespaces | Array of strings unique List of namespace strings (combination of database and collection) on the specified host or cluster. |
{- "namespaces": [
- "string"
]
}
{- "clusterId": "32b6e34b3d91647abb20e7b8",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "pinnedNamespaces": [
- "string"
]
}
Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to pin namespaces to. |
clusterView required | string Enum: "PRIMARY" "SECONDARY" "INDIVIDUAL_PROCESS" Human-readable label that identifies the cluster topology to retrieve metrics for. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
start | string <date-time> Date and time when MongoDB Cloud begins reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
end | string <date-time> Date and time when MongoDB Cloud stops reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
period | string Example: period=PT10H Duration over which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. Include this parameter when you do not set start and end. |
{- "groupId": "32b6e34b3d91647abb20e7b8",
- "identifierId": "string",
- "rankedNamespaces": [
- "string"
]
}
Get a list of the Coll Stats Latency cluster-level measurements for the given namespace.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
clusterName required | string^[a-zA-Z0-9][a-zA-Z0-9-]*$ Human-readable label that identifies the cluster to retrieve metrics for. |
clusterView required | string Enum: "PRIMARY" "SECONDARY" "INDIVIDUAL_PROCESS" Human-readable label that identifies the cluster topology to retrieve metrics for. |
databaseName required | string Example: mydb Human-readable label that identifies the database. |
collectionName required | string Example: mycoll Human-readable label that identifies the collection. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
metrics | Array of strings unique Items Enum: "READS_OPS" "READS_LATENCY" "AVERAGE_READS_LATENCY" "READS_P50_VALUE" "READS_P95_VALUE" "READS_P99_VALUE" "WRITES_OPS" "WRITES_LATENCY" "AVERAGE_WRITES_LATENCY" "WRITES_P50_VALUE" "WRITES_P95_VALUE" "WRITES_P99_VALUE" "COMMANDS_OPS" "COMMANDS_LATENCY" "AVERAGE_COMMANDS_LATENCY" "COMMANDS_P50_VALUE" "COMMANDS_P95_VALUE" "COMMANDS_P99_VALUE" "TOTAL_OPS" "TOTAL_LATENCY" "AVERAGE_TOTAL_OPS_LATENCY" "TOTAL_OPS_P50_VALUE" "TOTAL_OPS_P95_VALUE" "TOTAL_OPS_P99_VALUE" List that contains the metrics that you want to retrieve for the associated data series. If you don't set this parameter, this resource returns data series for all Coll Stats Latency metrics. |
start | string <date-time> Date and time when MongoDB Cloud begins reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
end | string <date-time> Date and time when MongoDB Cloud stops reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
period | string Example: period=PT10H Duration over which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. Include this parameter when you do not set start and end. |
{- "clusterId": "string",
- "clusterView": "string",
- "collectionName": "string",
- "databaseName": "string",
- "end": "2019-08-24T14:15:22Z",
- "granularity": "PT1M",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "measurements": [
- {
- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0
}
], - "name": "string",
- "units": "BYTES"
}
], - "processId": "mongodb.example.com:27017",
- "start": "2019-08-24T14:15:22Z"
}
Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{ }
Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
processId required | string^([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\:... Example: my.host.name.com:27017 Combination of hostname and IANA port that serves the MongoDB process. The host must be the hostname, fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process (mongod or mongos). The port must be the IANA port on which the MongoDB process listens for requests. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
start | string <date-time> Date and time when MongoDB Cloud begins reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
end | string <date-time> Date and time when MongoDB Cloud stops reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
period | string Example: period=PT10H Duration over which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. Include this parameter when you do not set start and end. |
{- "groupId": "32b6e34b3d91647abb20e7b8",
- "identifierId": "string",
- "rankedNamespaces": [
- "string"
]
}
Get a list of the Coll Stats Latency process-level measurements for the given namespace
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
processId required | string^([0-9]{1,3}\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\:... Example: my.host.name.com:27017 Combination of hostname and IANA port that serves the MongoDB process. The host must be the hostname, fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process (mongod or mongos). The port must be the IANA port on which the MongoDB process listens for requests. |
databaseName required | string Example: mydb Human-readable label that identifies the database. |
collectionName required | string Example: mycoll Human-readable label that identifies the collection. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
metrics | Array of strings unique Items Enum: "READS_OPS" "READS_LATENCY" "AVERAGE_READS_LATENCY" "READS_P50_VALUE" "READS_P95_VALUE" "READS_P99_VALUE" "WRITES_OPS" "WRITES_LATENCY" "AVERAGE_WRITES_LATENCY" "WRITES_P50_VALUE" "WRITES_P95_VALUE" "WRITES_P99_VALUE" "COMMANDS_OPS" "COMMANDS_LATENCY" "AVERAGE_COMMANDS_LATENCY" "COMMANDS_P50_VALUE" "COMMANDS_P95_VALUE" "COMMANDS_P99_VALUE" "TOTAL_OPS" "TOTAL_LATENCY" "AVERAGE_TOTAL_OPS_LATENCY" "TOTAL_OPS_P50_VALUE" "TOTAL_OPS_P95_VALUE" "TOTAL_OPS_P99_VALUE" List that contains the metrics that you want to retrieve for the associated data series. If you don't set this parameter, this resource returns data series for all Coll Stats Latency metrics. |
start | string <date-time> Date and time when MongoDB Cloud begins reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
end | string <date-time> Date and time when MongoDB Cloud stops reporting the metrics. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Include this parameter when you do not set period. |
period | string Example: period=PT10H Duration over which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. Include this parameter when you do not set start and end. |
{- "collectionName": "string",
- "databaseName": "string",
- "end": "2019-08-24T14:15:22Z",
- "granularity": "PT1M",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "measurements": [
- {
- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0
}
], - "name": "string",
- "units": "BYTES"
}
], - "processId": "mongodb.example.com:27017",
- "start": "2019-08-24T14:15:22Z"
}
Returns, adds, edits, and removes custom database user privilege roles. Use custom roles to specify custom sets of actions that the MongoDB Cloud built-in roles can't describe. You define custom roles at the project level, for all clusters in the project. This resource supports a subset of MongoDB privilege actions. You can create a subset of custom role actions. To create a wider list of custom role actions, use the MongoDB Cloud user interface. Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version that your project's clusters use. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4.
Returns all custom roles for the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
], - "roleName": "string"
}
]
Creates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one custom role in the specified project.
Array of objects (Database Privilege Action) List of the individual privilege actions that the role grants. | |
Array of objects (Inherited Role) unique List of the built-in roles that this custom role inherits. | |
roleName required | string Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |
{- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
], - "roleName": "string"
}
{- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
], - "roleName": "string"
}
Removes one custom role from the specified project. You can't remove a custom role that would leave one or more child roles with no parent roles or actions. You also can't remove a custom role that would leave one or more database users without roles. To use this resource, the requesting API Key must have the Project Owner role, Project Stream Processing Owner role, or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
roleName required | string Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
- "error": 400,
- "errorCode": "VALIDATION_ERROR",
- "reason": "Bad Request"
}
Returns one custom role for the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
roleName required | string Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
], - "roleName": "string"
}
Updates one custom role in the specified project. To use this resource, the requesting API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
roleName required | string Human-readable label that identifies the role for the request. This name must beunique for this custom role in this project. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Updates one custom role in the specified project.
Array of objects (Database Privilege Action) List of the individual privilege actions that the role grants. | |
Array of objects (Inherited Role) unique List of the built-in roles that this custom role inherits. |
{- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
]
}
{- "actions": [
- {
- "action": "FIND",
- "resources": [
- {
- "cluster": true,
- "collection": "string",
- "db": "string"
}
]
}
], - "inheritedRoles": [
- {
- "db": "string",
- "role": "string"
}
], - "roleName": "string"
}
Returns, adds, edits, and removes Federated Database Instances. This resource requires your project ID. Changes to federated database instance configurations can affect costs.
Returns the details of all federated database instances in the specified project. To use this resource, the requesting API Key must have the Project Read Only or higher role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
type | string Default: "USER" Enum: "USER" "ONLINE_ARCHIVE" Type of Federated Database Instances to return. |
[- {
- "cloudProviderConfig": {
- "aws": {
- "externalId": "string",
- "iamAssumedRoleARN": "arn:aws:iam::123456789012:root",
- "iamUserARN": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "azure": {
- "atlasAppId": "string",
- "roleId": "32b6e34b3d91647abb20e7b8",
- "servicePrincipalId": "string",
- "tenantId": "string"
}, - "gcp": {
- "gcpServiceAccount": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnames": [
- "string"
], - "name": "string",
- "privateEndpointHostnames": [
- {
- "hostname": "string",
- "privateEndpoint": "string"
}
], - "state": "UNVERIFIED",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- null
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
]
Creates one federated database instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
skipRoleValidation | boolean Default: false Flag that indicates whether this request should check if the requesting IAM role can read from the S3 bucket. AWS checks if the role can list the objects in the bucket before writing to it. Some IAM roles only need write permissions. This flag allows you to skip that check. |
Details to create one federated database instance in the specified project.
object (Data Federation Cloud Provider) Cloud provider where this Federated Database Instance is hosted. | |
object (DataLakeDataProcessRegion) Information about the cloud provider region to which the Federated Database Instance routes client connections. | |
name | string Human-readable label that identifies the Federated Database Instance. |
object (DataLakeStorage) Configuration information for each data store and its mapping to MongoDB Cloud databases. |
{- "cloudProviderConfig": {
- "aws": {
- "roleId": "32b6e34b3d91647abb20e7b8",
- "testS3Bucket": "string"
}, - "azure": {
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "gcp": {
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "name": "string",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- "string"
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
{- "cloudProviderConfig": {
- "aws": {
- "externalId": "string",
- "iamAssumedRoleARN": "arn:aws:iam::123456789012:root",
- "iamUserARN": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "azure": {
- "atlasAppId": "string",
- "roleId": "32b6e34b3d91647abb20e7b8",
- "servicePrincipalId": "string",
- "tenantId": "string"
}, - "gcp": {
- "gcpServiceAccount": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnames": [
- "string"
], - "name": "string",
- "privateEndpointHostnames": [
- {
- "hostname": "string",
- "privateEndpoint": "string"
}
], - "state": "UNVERIFIED",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- "string"
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
Removes one federated database instance from the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
tenantName required | string Human-readable label that identifies the federated database instance to remove. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns the details of one federated database instance within the specified project. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
tenantName required | string Human-readable label that identifies the Federated Database to return. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{- "cloudProviderConfig": {
- "aws": {
- "externalId": "string",
- "iamAssumedRoleARN": "arn:aws:iam::123456789012:root",
- "iamUserARN": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "azure": {
- "atlasAppId": "string",
- "roleId": "32b6e34b3d91647abb20e7b8",
- "servicePrincipalId": "string",
- "tenantId": "string"
}, - "gcp": {
- "gcpServiceAccount": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnames": [
- "string"
], - "name": "string",
- "privateEndpointHostnames": [
- {
- "hostname": "string",
- "privateEndpoint": "string"
}
], - "state": "UNVERIFIED",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- "string"
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
Updates the details of one federated database instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or higher role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
tenantName required | string Human-readable label that identifies the federated database instance to update. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
skipRoleValidation required | boolean Flag that indicates whether this request should check if the requesting IAM role can read from the S3 bucket. AWS checks if the role can list the objects in the bucket before writing to it. Some IAM roles only need write permissions. This flag allows you to skip that check. |
Details of one Federated Database to update in the specified project.
object (Data Federation Cloud Provider) Cloud provider where this Federated Database Instance is hosted. | |
object (DataLakeDataProcessRegion) Information about the cloud provider region to which the Federated Database Instance routes client connections. | |
name | string Human-readable label that identifies the Federated Database Instance. |
object (DataLakeStorage) Configuration information for each data store and its mapping to MongoDB Cloud databases. |
{- "cloudProviderConfig": {
- "aws": {
- "roleId": "32b6e34b3d91647abb20e7b8",
- "testS3Bucket": "string"
}, - "azure": {
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "gcp": {
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "name": "string",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- "string"
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
{- "cloudProviderConfig": {
- "aws": {
- "externalId": "string",
- "iamAssumedRoleARN": "arn:aws:iam::123456789012:root",
- "iamUserARN": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}, - "azure": {
- "atlasAppId": "string",
- "roleId": "32b6e34b3d91647abb20e7b8",
- "servicePrincipalId": "string",
- "tenantId": "string"
}, - "gcp": {
- "gcpServiceAccount": "string",
- "roleId": "32b6e34b3d91647abb20e7b8"
}
}, - "dataProcessRegion": {
- "cloudProvider": "AWS",
- "region": "SYDNEY_AUS"
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "hostnames": [
- "string"
], - "name": "string",
- "privateEndpointHostnames": [
- {
- "hostname": "string",
- "privateEndpoint": "string"
}
], - "state": "UNVERIFIED",
- "storage": {
- "databases": [
- {
- "collections": [
- {
- "dataSources": [
- {
- "allowInsecure": false,
- "collection": "string",
- "collectionRegex": "string",
- "database": "string",
- "databaseRegex": "string",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetPrefix": "string",
- "defaultFormat": ".avro",
- "path": "string",
- "provenanceFieldName": "string",
- "storeName": "string",
- "trimLevel": 0,
- "urls": [
- "string"
]
}
], - "name": "string"
}
], - "maxWildcardCollections": 100,
- "name": "string",
- "views": [
- {
- "name": "string",
- "pipeline": "string",
- "source": "string"
}
]
}
], - "stores": [
- {
- "name": "string",
- "provider": "string",
- "additionalStorageClasses": [
- "STANDARD"
], - "bucket": "string",
- "delimiter": "string",
- "includeTags": false,
- "prefix": "string",
- "public": false,
- "region": "US_GOV_WEST_1"
}
]
}
}
Returns query limits for a federated databases instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
tenantName required | string Human-readable label that identifies the federated database instance for which you want to retrieve query limits. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "currentUsage": 0,
- "defaultLimit": 0,
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "maximumLimit": 0,
- "name": "string",
- "overrunPolicy": "BLOCK",
- "tenantName": "string",
- "value": 0
}
]
Deletes one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. | |||||||||||||||
tenantName required | string Human-readable label that identifies the federated database instance to which the query limit applies. | |||||||||||||||
limitName required | string Enum: "bytesProcessed.query" "bytesProcessed.daily" "bytesProcessed.weekly" "bytesProcessed.monthly" Human-readable label that identifies this data federation instance limit.
|
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{ }
Returns the details of one query limit for the specified federated database instance in the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. | |||||||||||||||
tenantName required | string Human-readable label that identifies the federated database instance to which the query limit applies. | |||||||||||||||
limitName required | string Enum: "bytesProcessed.query" "bytesProcessed.daily" "bytesProcessed.weekly" "bytesProcessed.monthly" Human-readable label that identifies this data federation instance limit.
|
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "currentUsage": 0,
- "defaultLimit": 0,
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "maximumLimit": 0,
- "name": "string",
- "overrunPolicy": "BLOCK",
- "tenantName": "string",
- "value": 0
}
Creates or updates one query limit for one federated database instance. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. | |||||||||||||||
tenantName required | string Human-readable label that identifies the federated database instance to which the query limit applies. | |||||||||||||||
limitName required | string Enum: "bytesProcessed.query" "bytesProcessed.daily" "bytesProcessed.weekly" "bytesProcessed.monthly" Human-readable label that identifies this data federation instance limit.
|
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
Creates or updates one query limit for one federated database instance.
overrunPolicy | string Enum: "BLOCK" "BLOCK_AND_KILL" Only used for Data Federation limits. Action to take when the usage limit is exceeded. If limit span is set to QUERY, this is ignored because MongoDB Cloud stops the query when it exceeds the usage limit. |
value required | integer <int64> Amount to set the limit to. |
{- "overrunPolicy": "BLOCK",
- "value": 0
}
{- "currentUsage": 0,
- "defaultLimit": 0,
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "maximumLimit": 0,
- "name": "string",
- "overrunPolicy": "BLOCK",
- "tenantName": "string",
- "value": 0
}
Downloads the query logs for the specified federated database instance. To use this resource, the requesting API Key must have the Project Owner or Project Data Access Read Write roles. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
tenantName required | string Human-readable label that identifies the federated database instance for which you want to download query logs. |
endDate | integer <int64> 1199145600 Example: endDate=1636481348 Timestamp that specifies the end point for the range of log messages to download. MongoDB Cloud expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. |
startDate | integer <int64> 1199145600 Example: startDate=1636466948 Timestamp that specifies the starting point for the range of log messages to download. MongoDB Cloud expresses this timestamp in the number of seconds that have elapsed since the UNIX epoch. |
{- "detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
- "error": 400,
- "errorCode": "VALIDATION_ERROR",
- "reason": "Bad Request"
}
Returns all private endpoints for Federated Database Instances and Online Archives in the specified project. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "azureLinkId": "string",
- "comment": "string",
- "customerEndpointDNSName": "string",
- "customerEndpointIPAddress": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1",
- "errorMessage": "string",
- "provider": "AWS",
- "region": "US_EAST_1",
- "status": "PENDING",
- "type": "DATA_LAKE"
}
], - "totalCount": 0
}
Adds one private endpoint for Federated Database Instances and Online Archives to the specified projects. If the endpoint ID already exists and the associated comment is unchanged, Atlas Data Federation makes no change to the endpoint ID list. If the endpoint ID already exists and the associated comment is changed, Atlas Data Federation updates the comment value only in the endpoint ID list. If the endpoint ID doesn't exist, Atlas Data Federation appends the new endpoint to the list of endpoints in the endpoint ID list. Each region has an associated service name for the various endpoints in each region.
us-east-1
is com.amazonaws.vpce.us-east-1.vpce-svc-00e311695874992b4
.
us-west-1
is com.amazonaws.vpce.us-west-2.vpce-svc-09d86b19e59d1b4bb
.
eu-west-1
is com.amazonaws.vpce.eu-west-1.vpce-svc-0824460b72e1a420e
.
eu-west-2
is com.amazonaws.vpce.eu-west-2.vpce-svc-052f1840aa0c4f1f9
.
eu-central-1
is com.amazonaws.vpce.eu-central-1.vpce-svc-0ac8ce91871138c0d
.
sa-east-1
is com.amazonaws.vpce.sa-east-1.vpce-svc-0b56e75e8cdf50044
.
ap-southeast-2
is com.amazonaws.vpce.ap-southeast-2.vpce-svc-036f1de74d761706e
.
ap-south-1
is com.amazonaws.vpce.ap-south-1.vpce-svc-03eb8a541f96d356d
.
To use this resource, the requesting API Key must have the Project Owner or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Private endpoint for Federated Database Instances and Online Archives to add to the specified project.
azureLinkId | string Link ID that identifies the Azure private endpoint connection. |
comment | string Human-readable string to associate with this private endpoint. |
customerEndpointDNSName | string Human-readable label to identify customer's VPC endpoint DNS name. If defined, you must also specify a value for region. |
customerEndpointIPAddress | string^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$))... IP address used to connect to the Azure private endpoint. |
endpointId required | string^vpce-[0-9a-f]{17}$ Unique 22-character alphanumeric string that identifies the private endpoint. |
errorMessage | string Error message describing a failure approving the private endpoint request. |
provider | string Default: "AWS" Value: "AWS" Human-readable label that identifies the cloud service provider. Atlas Data Lake supports Amazon Web Services only. |
region | string Human-readable label to identify the region of customer's VPC endpoint. If defined, you must also specify a value for customerEndpointDNSName. |
status | string Enum: "PENDING" "OK" "FAILED" "DELETING" Status of the private endpoint connection request. |
type | string Default: "DATA_LAKE" Value: "DATA_LAKE" Human-readable label that identifies the resource type associated with this private endpoint. |
{- "azureLinkId": "string",
- "comment": "string",
- "customerEndpointDNSName": "string",
- "customerEndpointIPAddress": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1",
- "errorMessage": "string",
- "provider": "AWS",
- "region": "US_EAST_1",
- "status": "PENDING",
- "type": "DATA_LAKE"
}
{- "results": [
- {
- "azureLinkId": "string",
- "comment": "string",
- "customerEndpointDNSName": "string",
- "customerEndpointIPAddress": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1",
- "errorMessage": "string",
- "provider": "AWS",
- "region": "US_EAST_1",
- "status": "PENDING",
- "type": "DATA_LAKE"
}
], - "totalCount": 0
}
Removes one private endpoint for Federated Database Instances and Online Archives in the specified project. To use this resource, the requesting API Key must have the Project Owner role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
endpointId required | string^vpce-[0-9a-f]{17}$ Unique 22-character alphanumeric string that identifies the private endpoint to remove. Atlas Data Federation supports AWS private endpoints using the AWS PrivateLink feature. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project. To use this resource, the requesting API Key must have the Project Read Only or Project Charts Admin roles.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
endpointId required | string^vpce-[0-9a-f]{17}$ Unique 22-character alphanumeric string that identifies the private endpoint to return. Atlas Data Federation supports AWS private endpoints using the AWS PrivateLink feature. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "azureLinkId": "string",
- "comment": "string",
- "customerEndpointDNSName": "string",
- "customerEndpointIPAddress": "string",
- "endpointId": "vpce-3bf78b0ddee411ba1",
- "errorMessage": "string",
- "provider": "AWS",
- "region": "US_EAST_1",
- "status": "PENDING",
- "type": "DATA_LAKE"
}
Returns, edits, and removes Atlas Data Lake Pipelines and associated runs.
Returns a list of Data Lake Pipelines. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
[- {
- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
]
Creates one Data Lake Pipeline.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
Creates one Data Lake Pipeline.
object (Dataset Retention Policy) Dataset Retention Policy for a Scheduled Data Lake Pipeline. | |
name | string Name of this Data Lake Pipeline. |
object (Ingestion Destination) Ingestion destination of a Data Lake Pipeline. | |
object (Ingestion Source) Ingestion Source of a Data Lake Pipeline. | |
Array of objects (Field Transformation) Fields to be excluded for this Data Lake Pipeline. |
{- "datasetRetentionPolicy": {
- "units": "DAYS",
- "value": 1
}, - "name": "string",
- "sink": { },
- "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string"
}, - "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
{- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
Removes one Data Lake Pipeline.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
{ }
Returns the details of one Data Lake Pipeline within the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
Updates one Data Lake Pipeline.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
Updates one Data Lake Pipeline.
object (Dataset Retention Policy) Dataset Retention Policy for a Scheduled Data Lake Pipeline. | |
name | string Name of this Data Lake Pipeline. |
object (Ingestion Destination) Ingestion destination of a Data Lake Pipeline. | |
object (Ingestion Source) Ingestion Source of a Data Lake Pipeline. | |
Array of objects (Field Transformation) Fields to be excluded for this Data Lake Pipeline. |
{- "datasetRetentionPolicy": {
- "units": "DAYS",
- "value": 1
}, - "name": "string",
- "sink": { },
- "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string"
}, - "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
{- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
Returns a list of backup schedule policy items that you can use as a Data Lake Pipeline source. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
[- {
- "frequencyInterval": 1,
- "frequencyType": "daily",
- "id": "32b6e34b3d91647abb20e7b8",
- "retentionUnit": "days",
- "retentionValue": 0
}
]
Returns a list of backup snapshots that you can use to trigger an on demand pipeline run. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
completedAfter | string <date-time> Date and time after which MongoDB Cloud created the snapshot. If specified, MongoDB Cloud returns available backup snapshots created after this time and date only. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
{- "results": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "description": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "frequencyType": "hourly",
- "id": "32b6e34b3d91647abb20e7b8",
- "masterKeyUUID": "72659f08-8b3c-4913-bb4e-a8a68e036502",
- "mongodVersion": "string",
- "policyItems": [
- "32b6e34b3d91647abb20e7b8"
], - "snapshotType": "onDemand",
- "status": "queued",
- "storageSizeBytes": 0,
- "type": "replicaSet"
}
], - "totalCount": 0
}
Pauses ingestion for a Data Lake Pipeline within the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
Resumes ingestion for a Data Lake Pipeline within the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "sink": {
- "type": "DLS"
}, - "source": {
- "type": "PERIODIC_CPS",
- "clusterName": "string",
- "collectionName": "string",
- "databaseName": "string",
- "groupId": "32b6e34b3d91647abb20e7b8"
}, - "state": "ACTIVE",
- "transformations": [
- {
- "field": "string",
- "type": "EXCLUDE"
}
]
}
Returns a list of past Data Lake Pipeline runs. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
createdBefore | string <date-time> If specified, Atlas returns only Data Lake Pipeline runs initiated before this time and date. |
{- "results": [
- {
- "_id": "32b6e34b3d91647abb20e7b8",
- "backupFrequencyType": "HOURLY",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "phase": "SNAPSHOT",
- "pipelineId": "32b6e34b3d91647abb20e7b8",
- "scheduledDeletionDate": "2019-08-24T14:15:22Z",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "PENDING",
- "stats": {
- "bytesExported": 0,
- "numDocs": 0
}
}
], - "totalCount": 0
}
Deletes dataset that Atlas generated during the specified pipeline run.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
pipelineRunId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal character string that identifies a Data Lake Pipeline run. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns the details of one Data Lake Pipeline run within the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
pipelineRunId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal character string that identifies a Data Lake Pipeline run. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "_id": "32b6e34b3d91647abb20e7b8",
- "backupFrequencyType": "HOURLY",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "phase": "SNAPSHOT",
- "pipelineId": "32b6e34b3d91647abb20e7b8",
- "scheduledDeletionDate": "2019-08-24T14:15:22Z",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "PENDING",
- "stats": {
- "bytesExported": 0,
- "numDocs": 0
}
}
Triggers a Data Lake Pipeline ingestion of a specified snapshot.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
pipelineName required | string^[^/\\ "$]{1,64}$ Human-readable label that identifies the Data Lake Pipeline. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Triggers a single ingestion run of a snapshot.
object (Dataset Retention Policy) Dataset Retention Policy for a Scheduled Data Lake Pipeline. | |
snapshotId required | string^([a-f0-9]{24})$ Unique 24-hexadecimal character string that identifies the snapshot. |
{- "datasetRetentionPolicy": {
- "units": "DAYS",
- "value": 1
}, - "snapshotId": "32b6e34b3d91647abb20e7b8"
}
{- "_id": "32b6e34b3d91647abb20e7b8",
- "backupFrequencyType": "HOURLY",
- "createdDate": "2019-08-24T14:15:22Z",
- "datasetName": "v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z",
- "datasetRetentionPolicy": {
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "units": "DAYS",
- "value": 1
}, - "groupId": "32b6e34b3d91647abb20e7b8",
- "lastUpdatedDate": "2019-08-24T14:15:22Z",
- "phase": "SNAPSHOT",
- "pipelineId": "32b6e34b3d91647abb20e7b8",
- "scheduledDeletionDate": "2019-08-24T14:15:22Z",
- "snapshotId": "32b6e34b3d91647abb20e7b8",
- "state": "PENDING",
- "stats": {
- "bytesExported": 0,
- "numDocs": 0
}
}
Returns all database users that belong to the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
includeCount | boolean Default: true Example: includeCount=true Flag that indicates whether the response returns the total number of items (totalCount) in the response. |
itemsPerPage | integer [ 1 .. 500 ] Default: 100 Example: itemsPerPage=100 Number of items that the response returns per page. |
pageNum | integer >= 1 Default: 1 Example: pageNum=1 Number of the page that displays the current set of the total objects that the response returns. |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{- "results": [
- {
- "awsIAMType": "NONE",
- "databaseName": "admin",
- "deleteAfterDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "ldapAuthType": "NONE",
- "oidcAuthType": "NONE",
- "roles": [
- {
- "collectionName": "string",
- "databaseName": "string",
- "roleName": "atlasAdmin"
}
], - "scopes": [
- {
- "name": "string",
- "type": "CLUSTER"
}
], - "username": "string",
- "x509Type": "NONE"
}
], - "totalCount": 0
}
Creates one database user in the specified project. This MongoDB Cloud supports a maximum of 100 database users per project. If you require more than 100 database users on a project, contact Support. To use this resource, the requesting API Key must have the Project Owner role, the Project Charts Admin role, Project Stream Processing Owner role, or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
Creates one database user in the specified project.
awsIAMType | string Default: "NONE" Enum: "NONE" "USER" "ROLE" Human-readable label that indicates whether the new database user authenticates with the Amazon Web Services (AWS) Identity and Access Management (IAM) credentials associated with the user or the user's role. | ||||||||||||||||||||||||||||||||||||||||
databaseName required | string Default: "admin" Enum: "admin" "$external" The database against which the database user authenticates. Database users must provide both a username and authentication database to log into MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload this value should be | ||||||||||||||||||||||||||||||||||||||||
deleteAfterDate | string <date-time> Date and time when MongoDB Cloud deletes the user. This parameter expresses its value in the ISO 8601 timestamp format in UTC and can include the time zone designation. You must specify a future date that falls within one week of making the Application Programming Interface (API) request. | ||||||||||||||||||||||||||||||||||||||||
description | string <= 100 characters Description of this database user. | ||||||||||||||||||||||||||||||||||||||||
groupId required | string Unique 24-hexadecimal digit string that identifies the project. | ||||||||||||||||||||||||||||||||||||||||
Array of objects (Component Label) List that contains the key-value pairs for tagging and categorizing the MongoDB database user. The labels that you define do not appear in the console. | |||||||||||||||||||||||||||||||||||||||||
ldapAuthType | string Default: "NONE" Enum: "NONE" "GROUP" "USER" Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. | ||||||||||||||||||||||||||||||||||||||||
oidcAuthType | string Default: "NONE" Enum: "NONE" "IDP_GROUP" "USER" Human-readable label that indicates whether the new database user or group authenticates with OIDC federated authentication. To create a federated authentication user, specify the value of USER in this field. To create a federated authentication group, specify the value of IDP_GROUP in this field. | ||||||||||||||||||||||||||||||||||||||||
password | string >= 8 characters Alphanumeric string that authenticates this database user against the database specified in | ||||||||||||||||||||||||||||||||||||||||
Array of objects (Database User Role) List that provides the pairings of one role with one applicable database. | |||||||||||||||||||||||||||||||||||||||||
Array of objects (Database User Scope) List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project. | |||||||||||||||||||||||||||||||||||||||||
username required | string <= 1024 characters Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:
| ||||||||||||||||||||||||||||||||||||||||
x509Type | string Default: "NONE" Enum: "NONE" "CUSTOMER" "MANAGED" X.509 method that MongoDB Cloud uses to authenticate the database user.
Users created with the |
AWS IAM Authentication
{- "awsIAMType": "USER",
- "databaseName": "$external",
- "groupId": "32b6e34b3d91647abb20e7b8",
- "roles": [
- {
- "databaseName": "sales",
- "roleName": "readWrite"
}, - {
- "databaseName": "marketing",
- "roleName": "read"
}
], - "scopes": [
- {
- "name": "myCluster",
- "type": "CLUSTER"
}
], - "username": "arn:aws:iam::358363220050:user/mongodb-aws-iam-auth-test-user"
}
{- "awsIAMType": "NONE",
- "databaseName": "admin",
- "deleteAfterDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "ldapAuthType": "NONE",
- "oidcAuthType": "NONE",
- "roles": [
- {
- "collectionName": "string",
- "databaseName": "string",
- "roleName": "atlasAdmin"
}
], - "scopes": [
- {
- "name": "string",
- "type": "CLUSTER"
}
], - "username": "string",
- "x509Type": "NONE"
}
Removes one database user from the specified project. To use this resource, the requesting API Key must have the Project Owner role, the Project Stream Processing Owner role, or the Project Database Access Admin role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. | ||||||||||||||||||||||||||||||||||||||||
databaseName required | string The database against which the database user authenticates. Database users must provide both a username and authentication database to log into MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload this value should be | ||||||||||||||||||||||||||||||||||||||||
username required | string Example: SCRAM-SHA: dylan or AWS IAM: arn:aws:iam::123456789012:user/sales/enterprise/DylanBloggs or x.509/LDAP: CN=Dylan Bloggs,OU=Enterprise,OU=Sales,DC=Example,DC=COM or OIDC: IdPIdentifier/IdPGroupName Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:
|
envelope | boolean Default: false Example: envelope=false Flag that indicates whether Application wraps the response in an |
pretty | boolean Default: false Example: pretty=false Flag that indicates whether the response body should be in the prettyprint format. |
{ }
Returns one database user that belong to the specified project. To use this resource, the requesting API Key must have the Project Read Only role.
groupId required | string^([a-f0-9]{24})$ Example: 32b6e34b3d91647abb20e7b8 Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access. NOTE: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. |
databaseName required | string The database against which the database user authenticates. Database users must provide both a username and authentication database to log into MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload this value should be |